Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
383d2444
Commit
383d2444
authored
Jan 09, 2004
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Dont build objects which are not linked into the kernel ever.
SGI Modid: 2.5.x-xfs:slinx:160314a
parent
db15c97a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
fs/xfs/Makefile
fs/xfs/Makefile
+6
-5
fs/xfs/xfs_dmops.c
fs/xfs/xfs_dmops.c
+0
-3
fs/xfs/xfs_qmops.c
fs/xfs/xfs_qmops.c
+0
-2
No files found.
fs/xfs/Makefile
View file @
383d2444
...
@@ -61,9 +61,14 @@ xfs-$(CONFIG_XFS_QUOTA) += $(addprefix quota/, \
...
@@ -61,9 +61,14 @@ xfs-$(CONFIG_XFS_QUOTA) += $(addprefix quota/, \
xfs_qm_syscalls.o
\
xfs_qm_syscalls.o
\
xfs_qm_bhv.o
\
xfs_qm_bhv.o
\
xfs_qm.o
)
xfs_qm.o
)
ifeq
($(CONFIG_XFS_QUOTA),y)
ifeq
($(CONFIG_XFS_QUOTA),y)
xfs-$(CONFIG_PROC_FS)
+=
quota/xfs_qm_stats.o
xfs-$(CONFIG_PROC_FS)
+=
quota/xfs_qm_stats.o
else
xfs-y
+=
xfs_qmops.o
endif
ifneq
($(CONFIG_XFS_DMAPI),y)
xfs-y
+=
xfs_dmops.o
endif
endif
xfs-$(CONFIG_XFS_RT)
+=
xfs_rtalloc.o
xfs-$(CONFIG_XFS_RT)
+=
xfs_rtalloc.o
...
@@ -151,7 +156,3 @@ xfs-y += $(addprefix support/, \
...
@@ -151,7 +156,3 @@ xfs-y += $(addprefix support/, \
xfs-$(CONFIG_XFS_TRACE)
+=
support/ktrace.o
xfs-$(CONFIG_XFS_TRACE)
+=
support/ktrace.o
# Quota and DMAPI stubs
xfs-y
+=
xfs_dmops.o
\
xfs_qmops.o
fs/xfs/xfs_dmops.c
View file @
383d2444
...
@@ -43,8 +43,6 @@
...
@@ -43,8 +43,6 @@
#include "xfs_dmapi.h"
#include "xfs_dmapi.h"
#include "xfs_mount.h"
#include "xfs_mount.h"
#ifndef CONFIG_XFS_DMAPI
xfs_dmops_t
xfs_dmcore_xfs
=
{
xfs_dmops_t
xfs_dmcore_xfs
=
{
.
xfs_send_data
=
(
xfs_send_data_t
)
fs_nosys
,
.
xfs_send_data
=
(
xfs_send_data_t
)
fs_nosys
,
.
xfs_send_mmap
=
(
xfs_send_mmap_t
)
fs_noerr
,
.
xfs_send_mmap
=
(
xfs_send_mmap_t
)
fs_noerr
,
...
@@ -52,4 +50,3 @@ xfs_dmops_t xfs_dmcore_xfs = {
...
@@ -52,4 +50,3 @@ xfs_dmops_t xfs_dmcore_xfs = {
.
xfs_send_namesp
=
(
xfs_send_namesp_t
)
fs_nosys
,
.
xfs_send_namesp
=
(
xfs_send_namesp_t
)
fs_nosys
,
.
xfs_send_unmount
=
(
xfs_send_unmount_t
)
fs_noval
,
.
xfs_send_unmount
=
(
xfs_send_unmount_t
)
fs_noval
,
};
};
#endif
/* CONFIG_XFS_DMAPI */
fs/xfs/xfs_qmops.c
View file @
383d2444
...
@@ -44,7 +44,6 @@
...
@@ -44,7 +44,6 @@
#include "xfs_mount.h"
#include "xfs_mount.h"
#ifndef CONFIG_XFS_QUOTA
STATIC
struct
xfs_dquot
*
STATIC
struct
xfs_dquot
*
xfs_dqvopchown_default
(
xfs_dqvopchown_default
(
struct
xfs_trans
*
tp
,
struct
xfs_trans
*
tp
,
...
@@ -70,4 +69,3 @@ xfs_qmops_t xfs_qmcore_xfs = {
...
@@ -70,4 +69,3 @@ xfs_qmops_t xfs_qmcore_xfs = {
.
xfs_dqvopchown
=
xfs_dqvopchown_default
,
.
xfs_dqvopchown
=
xfs_dqvopchown_default
,
.
xfs_dqvopchownresv
=
(
xfs_dqvopchownresv_t
)
fs_noerr
,
.
xfs_dqvopchownresv
=
(
xfs_dqvopchownresv_t
)
fs_noerr
,
};
};
#endif
/* CONFIG_XFS_QUOTA */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment