Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c5acd2e authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Trond Myklebust
Browse files

NLM: clean up nlmsvc_delete_block



 The fl_next check here is superfluous (and possibly a layering violation).

 Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
 Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 5996a298
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -238,7 +238,6 @@ 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);

	/* If the block is in the middle of a GRANT callback,