diff options
Diffstat (limited to 'fs/locks.c')
-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) | |||
1169 | * @inode: the inode of the file to return | 1169 | * @inode: the inode of the file to return |
1170 | * @mode: the open mode (read or write) | 1170 | * @mode: the open mode (read or write) |
1171 | * | 1171 | * |
1172 | * break_lease (inlined for speed) has checked there already | 1172 | * break_lease (inlined for speed) has checked there already is at least |
1173 | * is a lease on this file. Leases are broken on a call to open() | 1173 | * some kind of lock (maybe a lease) on this file. Leases are broken on |
1174 | * or truncate(). This function can sleep unless you | 1174 | * a call to open() or truncate(). This function can sleep unless you |
1175 | * specified %O_NONBLOCK to your open(). | 1175 | * specified %O_NONBLOCK to your open(). |
1176 | */ | 1176 | */ |
1177 | int __break_lease(struct inode *inode, unsigned int mode) | 1177 | int __break_lease(struct inode *inode, unsigned int mode) |