提交 c56c2750 编写于 作者: R Reuben Farrelly 提交者: Trond Myklebust

[PATCH] NFSv4: Fix build warning

 From: Reuben Farrelly <reuben-lkml@reub.net>

 With gcc-4.0:

 fs/nfs/nfs4proc.c:2976: error: static declaration of
 'nfs4_file_inode_operations' follows non-static declaration
 fs/nfs/nfs4_fs.h:179: error: previous declaration of
 'nfs4_file_inode_operations' was here
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 3e9d4154
...@@ -176,7 +176,6 @@ struct nfs4_state_recovery_ops { ...@@ -176,7 +176,6 @@ struct nfs4_state_recovery_ops {
extern struct dentry_operations nfs4_dentry_operations; extern struct dentry_operations nfs4_dentry_operations;
extern struct inode_operations nfs4_dir_inode_operations; extern struct inode_operations nfs4_dir_inode_operations;
extern struct inode_operations nfs4_file_inode_operations;
/* inode.c */ /* inode.c */
extern ssize_t nfs4_getxattr(struct dentry *, const char *, void *, size_t); extern ssize_t nfs4_getxattr(struct dentry *, const char *, void *, size_t);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册