summaryrefslogtreecommitdiffstats
path: root/fs/lockd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@fieldses.org>2006-01-03 09:55:45 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-01-06 14:58:54 -0500
commit2c5acd2e1a73cad59203a1bace21e6b03f2920a9 (patch)
tree8fbd8725f4ca96c1d77d3c00a5756beaf5fa8abc /fs/lockd
parent5996a298da43a03081e9ba2116983d173001c862 (diff)
downloadop-kernel-dev-2c5acd2e1a73cad59203a1bace21e6b03f2920a9.zip
op-kernel-dev-2c5acd2e1a73cad59203a1bace21e6b03f2920a9.tar.gz
NLM: clean up nlmsvc_delete_block
The fl_next check here is superfluous (and possibly a layering violation). Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/lockd')
-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 5fb48b4..b56d439 100644
--- a/fs/lockd/svclock.c
+++ b/fs/lockd/svclock.c
@@ -238,8 +238,7 @@ nlmsvc_delete_block(struct nlm_block *block, int unlock)
/* Remove block from list */
nlmsvc_remove_block(block);
- if (fl->fl_next)
- posix_unblock_lock(file->f_file, fl);
+ posix_unblock_lock(file->f_file, fl);
/* If the block is in the middle of a GRANT callback,
* don't kill it yet. */
OpenPOWER on IntegriCloud