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 | |
parent | a5ae03989254ec25cd3a934ca02c008d67e259f7 (diff) | |
download | lwn-3c61eecb607dbc2777074b1a95b8a97e31a96a73.tar.gz lwn-3c61eecb607dbc2777074b1a95b8a97e31a96a73.zip |
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')
-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: } /* - * 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. */ |