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

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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -227,8 +227,7 @@ nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host,
}

/*
 * Delete a block. If the lock was cancelled or the grant callback
 * failed, unlock is set to 1.
 * Delete a block.
 * It is the caller's responsibility to check whether the file
 * can be closed hereafter.
 */