Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 275afcac authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

afs build fix



Bruce and David's patches clashed.

fs/afs/flock.c: In function 'afs_do_getlk':
fs/afs/flock.c:459: error: void value not ignored as it ought to be

Cc: "J. Bruce Fields" <bfields@fieldses.org>
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 ed2c12f3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -456,7 +456,8 @@ static int afs_do_getlk(struct file *file, struct file_lock *fl)

	/* check local lock records first */
	ret = 0;
	if (posix_test_lock(file, fl) == 0) {
	posix_test_lock(file, fl);
	if (fl->fl_type == F_UNLCK) {
		/* no local locks; consult the server */
		ret = afs_vnode_fetch_status(vnode, NULL, key);
		if (ret < 0)