提交 6924c554 编写于 作者: J J. Bruce Fields

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: N"J. Bruce Fields" <bfields@citi.umich.edu>
上级 6d34ac19
...@@ -1600,8 +1600,7 @@ asmlinkage long sys_flock(unsigned int fd, unsigned int cmd) ...@@ -1600,8 +1600,7 @@ asmlinkage long sys_flock(unsigned int fd, unsigned int cmd)
/** /**
* vfs_test_lock - test file byte range lock * vfs_test_lock - test file byte range lock
* @filp: The file to test lock for * @filp: The file to test lock for
* @fl: The lock to test * @fl: The lock to test; also used to hold result
* @conf: Place to return a copy of the conflicting lock, if found
* *
* Returns -ERRNO on failure. Indicates presence of conflicting lock by * Returns -ERRNO on failure. Indicates presence of conflicting lock by
* setting conf->fl_type to something other than F_UNLCK. * setting conf->fl_type to something other than F_UNLCK.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册