Commit 03a9c30c authored by Randy Dunlap's avatar Randy Dunlap Committed by 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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-By: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment