]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
locks: fix vfs_test_lock() comment
authorJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 11 May 2007 20:22:50 +0000 (16:22 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 18 Jul 2007 23:17:19 +0000 (19:17 -0400)
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>
fs/locks.c

index 4a8072736efa2716b46121bb8d6b994c7f573054..4f2d749ac624f6315f947c4e44513d170ac23e14 100644 (file)
@@ -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.