projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5996a29
)
NLM: clean up nlmsvc_delete_block
author
J. Bruce Fields
<bfields@fieldses.org>
Tue, 3 Jan 2006 08:55:45 +0000
(09:55 +0100)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 6 Jan 2006 19:58:54 +0000
(14:58 -0500)
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>
fs/lockd/svclock.c
patch
|
blob
|
history
diff --git
a/fs/lockd/svclock.c
b/fs/lockd/svclock.c
index 5fb48b4390bdba2107a03d294f60d1e2625ea924..b56d439bad8297339c36a432d233d0b27fd57c1f 100644
(file)
--- 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. */