Skip to content

Commit

Permalink
locks: fix vfs_test_lock() comment
Browse files Browse the repository at this point in the history
Thanks to Doug Chapman for pointing out that the comment here is
inconsistent with the function prototype.

Signed-off-by: "J. Bruce Fields" <[email protected]>
  • Loading branch information
J. Bruce Fields committed Jul 18, 2007
1 parent 6d34ac1 commit 6924c55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/locks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1600,8 +1600,7 @@ asmlinkage long sys_flock(unsigned int fd, unsigned int cmd)
/**
* vfs_test_lock - test file byte range lock
* @filp: The file to test lock for
* @fl: The lock to test
* @conf: Place to return a copy of the conflicting lock, if found
* @fl: The lock to test; also used to hold result
*
* Returns -ERRNO on failure. Indicates presence of conflicting lock by
* setting conf->fl_type to something other than F_UNLCK.
Expand Down

0 comments on commit 6924c55

Please sign in to comment.