diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2008-04-07 13:05:27 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-04-23 16:13:42 -0400 |
commit | 3c61eecb607dbc2777074b1a95b8a97e31a96a73 (patch) | |
tree | 0df466f7f4b9528718b4d944e944905602eb6e74 /fs/lockd/svclock.c | |
parent | a5ae03989254ec25cd3a934ca02c008d67e259f7 (diff) |
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>
Diffstat (limited to 'fs/lockd/svclock.c')
-rw-r--r-- | fs/lockd/svclock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/lockd/svclock.c b/fs/lockd/svclock.c index 4da7c4c27064..1f122c1940af 100644 --- a/fs/lockd/svclock.c +++ b/fs/lockd/svclock.c | |||
@@ -227,8 +227,7 @@ failed: | |||
227 | } | 227 | } |
228 | 228 | ||
229 | /* | 229 | /* |
230 | * Delete a block. If the lock was cancelled or the grant callback | 230 | * Delete a block. |
231 | * failed, unlock is set to 1. | ||
232 | * It is the caller's responsibility to check whether the file | 231 | * It is the caller's responsibility to check whether the file |
233 | * can be closed hereafter. | 232 | * can be closed hereafter. |
234 | */ | 233 | */ |