summaryrefslogtreecommitdiffstats
path: root/fs/nfs/file.c
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-07-16 16:39:11 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-07-17 13:33:03 -0400
commitab96291ea16b6b9c76bfac35ccbb26a15ecb01ce (patch)
tree46c37d231ad4fc4d7443c494c299a5bd76560145 /fs/nfs/file.c
parent597d92891b8859b4b4949fd08e25e60fc80ddaaf (diff)
downloadlinux-ab96291ea16b6b9c76bfac35ccbb26a15ecb01ce.tar.gz
linux-ab96291ea16b6b9c76bfac35ccbb26a15ecb01ce.tar.bz2
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.c12
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)