提交 03a9c30c 编写于 作者: R Randy Dunlap 提交者: Linus Torvalds

AFS: drop explicit extern

Don't use explicit extern specifier and quieten sparse warning:
fs/afs/vnode.c:564:12: warning: function 'afs_vnode_link' with external linkage has definition
Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
Acked-By: NDavid Howells <dhowells@redhat.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 7bf1fc43
......@@ -561,7 +561,7 @@ int afs_vnode_remove(struct afs_vnode *vnode, struct key *key, const char *name,
/*
* create a hard link
*/
extern int afs_vnode_link(struct afs_vnode *dvnode, struct afs_vnode *vnode,
int afs_vnode_link(struct afs_vnode *dvnode, struct afs_vnode *vnode,
struct key *key, const char *name)
{
struct afs_server *server;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册