]> err.no Git - linux-2.6/commitdiff
lockd: Fix stale nlmsvc_unlink_block comment
authorJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 7 Apr 2008 17:05:27 +0000 (13:05 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:42 +0000 (16:13 -0400)
As of 5996a298da43a03081e9ba2116983d173001c862 ("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: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/svclock.c

index 4da7c4c270643c5e6eccaa5d5e5cac4144ac1720..1f122c1940afa069a6deb31f82103b990867136a 100644 (file)
@@ -227,8 +227,7 @@ failed:
 }
 
 /*
- * 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.
  */