summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@debian.org>2002-08-14 21:15:13 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-08-14 21:15:13 -0700
commitecc9d325a607ad198c7e1b6aada94ff4daefef91 (patch)
treede37ff5a7d2a14eb572ff73c3306412ccb871209
parent6a85ced0a7500dbf574277784536ba1c550daf5a (diff)
[PATCH] lockd shouldn't call posix_unblock_lock here
nlmsvc_notify_blocked() is only called via the fl_notify() pointer which is only called immediately after we already did a locks_delete_block(), so calling posix_unblock_lock() here is always a NOP.
-rw-r--r--fs/lockd/svclock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c
index 67c4743d2006..e7c0a37628bc 100644
--- a/fs/lockd/svclock.c
+++ b/fs/lockd/svclock.c
@@ -472,7 +472,6 @@ nlmsvc_notify_blocked(struct file_lock *fl)
struct nlm_block **bp, *block;
dprintk("lockd: VFS unblock notification for block %p\n", fl);
- posix_unblock_lock(fl);
for (bp = &nlm_blocked; (block = *bp); bp = &block->b_next) {
if (nlm_compare_locks(&block->b_call.a_args.lock.fl, fl)) {
nlmsvc_insert_block(block, 0);