diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-16 22:39:11 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-17 19:33:03 +0200 |
commit | ab96291ea16b6b9c76bfac35ccbb26a15ecb01ce (patch) | |
tree | 46c37d231ad4fc4d7443c494c299a5bd76560145 /fs/nfs/file.c | |
parent | NFS: Split out NFS v2 inode operations (diff) | |
download | linux-ab96291ea16b6b9c76bfac35ccbb26a15ecb01ce.tar.xz linux-ab96291ea16b6b9c76bfac35ccbb26a15ecb01ce.zip |
NFS: Split out NFS v3 inode operations
This patch moves the NFS v3 file and directory inode functions into
files that are only compiled whet CONFIG_NFS_V3 is enabled.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/file.c')
-rw-r--r-- | fs/nfs/file.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 7da8745e22ac..76239178e959 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c @@ -41,18 +41,6 @@ static const struct vm_operations_struct nfs_file_vm_ops; -#ifdef CONFIG_NFS_V3 -const struct inode_operations nfs3_file_inode_operations = { - .permission = nfs_permission, - .getattr = nfs_getattr, - .setattr = nfs_setattr, - .listxattr = nfs3_listxattr, - .getxattr = nfs3_getxattr, - .setxattr = nfs3_setxattr, - .removexattr = nfs3_removexattr, -}; -#endif /* CONFIG_NFS_v3 */ - /* Hack for future NFS swap support */ #ifndef IS_SWAPFILE # define IS_SWAPFILE(inode) (0) |