Browse Source

lockd: Fix stale nlmsvc_unlink_block comment

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>
J. Bruce Fields 17 năm trước cách đây
mục cha
commit
3c61eecb60
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      fs/lockd/svclock.c

+ 1 - 2
fs/lockd/svclock.c

@@ -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.
  */