aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_fs.h
diff options
context:
space:
mode:
authorBryan Schumaker <bjschuma@netapp.com>2012-07-16 16:39:10 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-07-17 13:32:55 -0400
commit597d92891b8859b4b4949fd08e25e60fc80ddaaf (patch)
treec379c890a62a36b36b443cf23f81daa1605901b0 /include/linux/nfs_fs.h
parent6bbb4ae8ffc4eef825c8742eff1fefae69a82e41 (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 'include/linux/nfs_fs.h')
-rw-r--r--include/linux/nfs_fs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index b23cfc120edb..6c38bc9c0081 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -427,7 +427,6 @@ extern __be32 root_nfs_parse_addr(char *name); /*__init*/
427/* 427/*
428 * linux/fs/nfs/file.c 428 * linux/fs/nfs/file.c
429 */ 429 */
430extern const struct inode_operations nfs_file_inode_operations;
431#ifdef CONFIG_NFS_V3 430#ifdef CONFIG_NFS_V3
432extern const struct inode_operations nfs3_file_inode_operations; 431extern const struct inode_operations nfs3_file_inode_operations;
433#endif /* CONFIG_NFS_V3 */ 432#endif /* CONFIG_NFS_V3 */
@@ -485,7 +484,6 @@ extern ssize_t nfs_file_direct_write(struct kiocb *iocb,
485/* 484/*
486 * linux/fs/nfs/dir.c 485 * linux/fs/nfs/dir.c
487 */ 486 */
488extern const struct inode_operations nfs_dir_inode_operations;
489#ifdef CONFIG_NFS_V3 487#ifdef CONFIG_NFS_V3
490extern const struct inode_operations nfs3_dir_inode_operations; 488extern const struct inode_operations nfs3_dir_inode_operations;
491#endif /* CONFIG_NFS_V3 */ 489#endif /* CONFIG_NFS_V3 */