]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
LINUX: afs_linux_put_link is void
authorAndrew Deason <adeason@sinenomine.net>
Mon, 10 Jan 2011 18:11:22 +0000 (12:11 -0600)
committerDerrick Brashear <shadow@dementix.org>
Thu, 15 Dec 2011 04:19:21 +0000 (20:19 -0800)
The put_link callback doesn't return a value, so declare it as such.

Reviewed-on: http://gerrit.openafs.org/3636
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 336256c7a0e7d54495a070895c9d8c2057168839)

Change-Id: I5985316ea37f572039267ea117dfeae55ea96bc0
Reviewed-on: http://gerrit.openafs.org/6271
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/LINUX/osi_vnodeops.c

index d59d509f3e150ac0d76a2ea4f017bede0e070931..dd133d46cf4f2552704f0a8415e8e15b55521fd4 100644 (file)
@@ -1404,7 +1404,7 @@ static int afs_linux_follow_link(struct dentry *dentry, struct nameidata *nd)
     return 0;
 }
 
-static int
+static void
 afs_linux_put_link(struct dentry *dentry, struct nameidata *nd)
 {
     char *name = nd_get_link(nd);