mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
NLM: clean up nlmsvc_delete_block
The fl_next check here is superfluous (and possibly a layering violation). Signed-off-by: J. Bruce Fields <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
This commit is contained in:
parent
5996a298da
commit
2c5acd2e1a
1 changed files with 1 additions and 2 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue