diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2007-05-11 16:22:50 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2007-07-18 19:17:19 -0400 |
commit | 6924c55492c904695f13c552c461c2211f4fdd6a (patch) | |
tree | 398f0717bedf7f533ad3e4eaeee7a441b3e67a74 | |
parent | 6d34ac199a4af5c678a3a8f3275aeb2586b72da3 (diff) |
locks: fix vfs_test_lock() comment
Thanks to Doug Chapman for pointing out that the comment here is
inconsistent with the function prototype.
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
-rw-r--r-- | fs/locks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/locks.c b/fs/locks.c index 4a8072736efa..4f2d749ac624 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -1600,8 +1600,7 @@ asmlinkage long sys_flock(unsigned int fd, unsigned int cmd) | |||
1600 | /** | 1600 | /** |
1601 | * vfs_test_lock - test file byte range lock | 1601 | * vfs_test_lock - test file byte range lock |
1602 | * @filp: The file to test lock for | 1602 | * @filp: The file to test lock for |
1603 | * @fl: The lock to test | 1603 | * @fl: The lock to test; also used to hold result |
1604 | * @conf: Place to return a copy of the conflicting lock, if found | ||
1605 | * | 1604 | * |
1606 | * Returns -ERRNO on failure. Indicates presence of conflicting lock by | 1605 | * Returns -ERRNO on failure. Indicates presence of conflicting lock by |
1607 | * setting conf->fl_type to something other than F_UNLCK. | 1606 | * setting conf->fl_type to something other than F_UNLCK. |