2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for the Linux nfs filesystem routines.
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_NFS_FS) += nfs.o
|
|
|
|
|
2012-05-10 20:47:19 +00:00
|
|
|
nfs-y := client.o dir.o file.o getroot.o inode.o super.o \
|
|
|
|
direct.o pagelist.o read.o symlink.o unlink.o \
|
2009-08-19 22:12:27 +00:00
|
|
|
write.o namespace.o mount_clnt.o \
|
|
|
|
dns_resolve.o cache_lib.o
|
2007-07-01 16:13:27 +00:00
|
|
|
nfs-$(CONFIG_ROOT_NFS) += nfsroot.o
|
2012-05-10 20:47:19 +00:00
|
|
|
nfs-$(CONFIG_NFS_V2) += proc.o nfs2xdr.o
|
2005-04-16 22:20:36 +00:00
|
|
|
nfs-$(CONFIG_NFS_V3) += nfs3proc.o nfs3xdr.o
|
2005-06-22 17:16:27 +00:00
|
|
|
nfs-$(CONFIG_NFS_V3_ACL) += nfs3acl.o
|
2005-04-16 22:20:36 +00:00
|
|
|
nfs-$(CONFIG_NFS_V4) += nfs4proc.o nfs4xdr.o nfs4state.o nfs4renewd.o \
|
|
|
|
delegation.o idmap.o \
|
NFS: Split fs/nfs/inode.c
As fs/nfs/inode.c is rather large, heterogenous and unwieldy, the attached
patch splits it up into a number of files:
(*) fs/nfs/inode.c
Strictly inode specific functions.
(*) fs/nfs/super.c
Superblock management functions for NFS and NFS4, normal access, clones
and referrals. The NFS4 superblock functions _could_ move out into a
separate conditionally compiled file, but it's probably not worth it as
there're so many common bits.
(*) fs/nfs/namespace.c
Some namespace-specific functions have been moved here.
(*) fs/nfs/nfs4namespace.c
NFS4-specific namespace functions (this could be merged into the previous
file). This file is conditionally compiled.
(*) fs/nfs/internal.h
Inter-file declarations, plus a few simple utility functions moved from
fs/nfs/inode.c.
Additionally, all the in-.c-file externs have been moved here, and those
files they were moved from now includes this file.
For the most part, the functions have not been changed, only some multiplexor
functions have changed significantly.
I've also:
(*) Added some extra banner comments above some functions.
(*) Rearranged the function order within the files to be more logical and
better grouped (IMO), though someone may prefer a different order.
(*) Reduced the number of #ifdefs in .c files.
(*) Added missing __init and __exit directives.
Signed-Off-By: David Howells <dhowells@redhat.com>
2006-06-09 13:34:33 +00:00
|
|
|
callback.o callback_xdr.o callback_proc.o \
|
|
|
|
nfs4namespace.o
|
2011-05-20 02:14:47 +00:00
|
|
|
nfs-$(CONFIG_NFS_V4_1) += pnfs.o pnfs_dev.o
|
2006-01-03 08:55:41 +00:00
|
|
|
nfs-$(CONFIG_SYSCTL) += sysctl.o
|
2009-04-03 15:42:42 +00:00
|
|
|
nfs-$(CONFIG_NFS_FSCACHE) += fscache.o fscache-index.o
|
2010-10-20 04:18:00 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_PNFS_FILE_LAYOUT) += nfs_layout_nfsv41_files.o
|
2010-10-20 04:18:04 +00:00
|
|
|
nfs_layout_nfsv41_files-y := nfs4filelayout.o nfs4filelayoutdev.o
|
2011-05-22 16:49:06 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_PNFS_OBJLAYOUT) += objlayout/
|
2011-07-31 00:52:39 +00:00
|
|
|
obj-$(CONFIG_PNFS_BLOCK) += blocklayout/
|