Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6924c554 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatar"J. Bruce Fields" <bfields@citi.umich.edu>
parent 6d34ac19
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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.