提交 4d1bf79a 编写于 作者: J Jim Schutt 提交者: Sage Weil

ceph: fix up comment for ceph_count_locks() as to which lock to hold

Signed-off-by: NJim Schutt <jaschut@sandia.gov>
Reviewed-by: NAlex Elder <elder@inktank.com>
上级 491205a8
...@@ -169,7 +169,7 @@ int ceph_flock(struct file *file, int cmd, struct file_lock *fl) ...@@ -169,7 +169,7 @@ int ceph_flock(struct file *file, int cmd, struct file_lock *fl)
} }
/** /**
* Must be called with BKL already held. Fills in the passed * Must be called with lock_flocks() already held. Fills in the passed
* counter variables, so you can prepare pagelist metadata before calling * counter variables, so you can prepare pagelist metadata before calling
* ceph_encode_locks. * ceph_encode_locks.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册