summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-06-21 14:58:09 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-06-29 10:57:37 +0200
commitf891a29f46553a384edbaa0f6ac446b1d03bccac (patch)
tree5b8a0083237e6b3632011b19a89c9d1df99b2912 /fs/lockd
parentDon't pass inode to ->d_hash() and ->d_compare() (diff)
downloadlinux-f891a29f46553a384edbaa0f6ac446b1d03bccac.tar.xz
linux-f891a29f46553a384edbaa0f6ac446b1d03bccac.zip
locks: drop the unused filp argument to posix_unblock_lock
Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/lockd')
-rw-r--r--fs/lockd/svclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c
index e703318c41df..a469098682c4 100644
--- a/fs/lockd/svclock.c
+++ b/fs/lockd/svclock.c
@@ -276,7 +276,7 @@ static int nlmsvc_unlink_block(struct nlm_block *block)
dprintk("lockd: unlinking block %p...\n", block);
/* Remove block from list */
- status = posix_unblock_lock(block->b_file->f_file, &block->b_call->a_args.lock.fl);
+ status = posix_unblock_lock(&block->b_call->a_args.lock.fl);
nlmsvc_remove_block(block);
return status;
}