From: Reuben Farrelly Date: Wed, 22 Jun 2005 17:16:28 +0000 (+0000) Subject: [PATCH] NFSv4: Fix build warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c56c2750229154f6a1cfee533e0a911da3923b5a;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] NFSv4: Fix build warning From: Reuben Farrelly 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: Andrew Morton Signed-off-by: Trond Myklebust --- diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index d71f416bd9e5..7c6f1d668fbd 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h @@ -176,7 +176,6 @@ struct nfs4_state_recovery_ops { extern struct dentry_operations nfs4_dentry_operations; extern struct inode_operations nfs4_dir_inode_operations; -extern struct inode_operations nfs4_file_inode_operations; /* inode.c */ extern ssize_t nfs4_getxattr(struct dentry *, const char *, void *, size_t);