mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
597d92891b
commit
ab96291ea1
4 changed files with 29 additions and 39 deletions
|
@ -427,9 +427,6 @@ extern __be32 root_nfs_parse_addr(char *name); /*__init*/
|
|||
/*
|
||||
* linux/fs/nfs/file.c
|
||||
*/
|
||||
#ifdef CONFIG_NFS_V3
|
||||
extern const struct inode_operations nfs3_file_inode_operations;
|
||||
#endif /* CONFIG_NFS_V3 */
|
||||
extern const struct file_operations nfs_file_operations;
|
||||
#ifdef CONFIG_NFS_V4
|
||||
extern const struct file_operations nfs4_file_operations;
|
||||
|
@ -484,9 +481,6 @@ extern ssize_t nfs_file_direct_write(struct kiocb *iocb,
|
|||
/*
|
||||
* linux/fs/nfs/dir.c
|
||||
*/
|
||||
#ifdef CONFIG_NFS_V3
|
||||
extern const struct inode_operations nfs3_dir_inode_operations;
|
||||
#endif /* CONFIG_NFS_V3 */
|
||||
extern const struct file_operations nfs_dir_operations;
|
||||
extern const struct dentry_operations nfs_dentry_operations;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue