aboutsummaryrefslogtreecommitdiffstats
path: root/fs/lockd/svclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/lockd/svclock.c')
-rw-r--r--fs/lockd/svclock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c
index 5fb48b4390bd..b56d439bad82 100644
--- a/fs/lockd/svclock.c
+++ b/fs/lockd/svclock.c
@@ -238,8 +238,7 @@ nlmsvc_delete_block(struct nlm_block *block, int unlock)
238 238
239 /* Remove block from list */ 239 /* Remove block from list */
240 nlmsvc_remove_block(block); 240 nlmsvc_remove_block(block);
241 if (fl->fl_next) 241 posix_unblock_lock(file->f_file, fl);
242 posix_unblock_lock(file->f_file, fl);
243 242
244 /* If the block is in the middle of a GRANT callback, 243 /* If the block is in the middle of a GRANT callback,
245 * don't kill it yet. */ 244 * don't kill it yet. */