diff options
author | david m. richter <richterd@citi.umich.edu> | 2007-05-09 22:10:27 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2007-07-19 01:09:27 +0200 |
commit | 87250dd26a34c65ae31d08837174222889007641 (patch) | |
tree | 01081d90b336d379053936e438a7bd2f6d8692bf /fs | |
parent | zs: move to the serial subsystem (diff) | |
download | linux-87250dd26a34c65ae31d08837174222889007641.tar.xz linux-87250dd26a34c65ae31d08837174222889007641.zip |
leases: minor break_lease() comment clarification
clarify that break_lease() checks for presence of any lock, not just leases.
Signed-off-by: David M. Richter <richterd@citi.umich.edu>
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/locks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/locks.c b/fs/locks.c index 431a8b871fce..924e4a7fb1d5 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1169,9 +1169,9 @@ static void time_out_leases(struct inode *inode) * @inode: the inode of the file to return * @mode: the open mode (read or write) * - * break_lease (inlined for speed) has checked there already - * is a lease on this file. Leases are broken on a call to open() - * or truncate(). This function can sleep unless you + * break_lease (inlined for speed) has checked there already is at least + * some kind of lock (maybe a lease) on this file. Leases are broken on + * a call to open() or truncate(). This function can sleep unless you * specified %O_NONBLOCK to your open(). */ int __break_lease(struct inode *inode, unsigned int mode) |