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 /include | |
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 'include')
-rw-r--r-- | include/linux/nfs_fs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 6c38bc9c0081..4b6043c20f77 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h | |||
@@ -427,9 +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 | */ |
430 | #ifdef CONFIG_NFS_V3 | ||
431 | extern const struct inode_operations nfs3_file_inode_operations; | ||
432 | #endif /* CONFIG_NFS_V3 */ | ||
433 | extern const struct file_operations nfs_file_operations; | 430 | extern const struct file_operations nfs_file_operations; |
434 | #ifdef CONFIG_NFS_V4 | 431 | #ifdef CONFIG_NFS_V4 |
435 | extern const struct file_operations nfs4_file_operations; | 432 | extern const struct file_operations nfs4_file_operations; |
@@ -484,9 +481,6 @@ extern ssize_t nfs_file_direct_write(struct kiocb *iocb, | |||
484 | /* | 481 | /* |
485 | * linux/fs/nfs/dir.c | 482 | * linux/fs/nfs/dir.c |
486 | */ | 483 | */ |
487 | #ifdef CONFIG_NFS_V3 | ||
488 | extern const struct inode_operations nfs3_dir_inode_operations; | ||
489 | #endif /* CONFIG_NFS_V3 */ | ||
490 | extern const struct file_operations nfs_dir_operations; | 484 | extern const struct file_operations nfs_dir_operations; |
491 | extern const struct dentry_operations nfs_dentry_operations; | 485 | extern const struct dentry_operations nfs_dentry_operations; |
492 | 486 | ||