Commit 3c61eecb authored by J. Bruce Fields's avatar J. Bruce Fields

lockd: Fix stale nlmsvc_unlink_block comment

As of 5996a298 ("NLM: don't unlock on
cancel requests") we no longer unlock in this case, so the comment is no
longer accurate.

Thanks to Stuart Friedberg for pointing out the inconsistency.

Cc: Stuart Friedberg <sfriedberg@hp.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent a5ae0398
...@@ -227,8 +227,7 @@ failed: ...@@ -227,8 +227,7 @@ failed:
} }
/* /*
* Delete a block. If the lock was cancelled or the grant callback * Delete a block.
* failed, unlock is set to 1.
* It is the caller's responsibility to check whether the file * It is the caller's responsibility to check whether the file
* can be closed hereafter. * can be closed hereafter.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment