diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-07-16 16:39:10 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-07-17 13:32:55 -0400 |
commit | 597d92891b8859b4b4949fd08e25e60fc80ddaaf (patch) | |
tree | c379c890a62a36b36b443cf23f81daa1605901b0 /fs/nfs/file.c | |
parent | 6bbb4ae8ffc4eef825c8742eff1fefae69a82e41 (diff) |
NFS: Split out NFS v2 inode operations
This patch moves the NFS v2 file and directory inode functions into
files that are only compiled whet CONFIG_NFS_V2 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 | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 57a22a1533e2..7da8745e22ac 100644 --- a/fs/nfs/file.c +++ b/fs/nfs/file.c | |||
@@ -41,12 +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 | const struct inode_operations nfs_file_inode_operations = { | ||
45 | .permission = nfs_permission, | ||
46 | .getattr = nfs_getattr, | ||
47 | .setattr = nfs_setattr, | ||
48 | }; | ||
49 | |||
50 | #ifdef CONFIG_NFS_V3 | 44 | #ifdef CONFIG_NFS_V3 |
51 | const struct inode_operations nfs3_file_inode_operations = { | 45 | const struct inode_operations nfs3_file_inode_operations = { |
52 | .permission = nfs_permission, | 46 | .permission = nfs_permission, |