diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-16 16:39:11 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-17 13:33:03 -0400 |
commit | ab96291ea16b6b9c76bfac35ccbb26a15ecb01ce (patch) | |
tree | 46c37d231ad4fc4d7443c494c299a5bd76560145 /fs/nfs/file.c | |
parent | 597d92891b8859b4b4949fd08e25e60fc80ddaaf (diff) |
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 @@ | |||
41 | 41 | ||
42 | static const struct vm_operations_struct nfs_file_vm_ops; | 42 | static const struct vm_operations_struct nfs_file_vm_ops; |
43 | 43 | ||
44 | #ifdef CONFIG_NFS_V3 | ||
45 | const struct inode_operations nfs3_file_inode_operations = { | ||
46 | .permission = nfs_permission, | ||
47 | .getattr = nfs_getattr, | ||
48 | .setattr = nfs_setattr, | ||
49 | .listxattr = nfs3_listxattr, | ||
50 | .getxattr = nfs3_getxattr, | ||
51 | .setxattr = nfs3_setxattr, | ||
52 | .removexattr = nfs3_removexattr, | ||
53 | }; | ||
54 | #endif /* CONFIG_NFS_v3 */ | ||
55 | |||
56 | /* Hack for future NFS swap support */ | 44 | /* Hack for future NFS swap support */ |
57 | #ifndef IS_SWAPFILE | 45 | #ifndef IS_SWAPFILE |
58 | # define IS_SWAPFILE(inode) (0) | 46 | # define IS_SWAPFILE(inode) (0) |