Skip to content

Commit 4d1bf79

Browse files
Jim SchuttSage Weil
authored andcommitted
ceph: fix up comment for ceph_count_locks() as to which lock to hold
Signed-off-by: Jim Schutt <jaschut@sandia.gov> Reviewed-by: Alex Elder <elder@inktank.com>
1 parent 491205a commit 4d1bf79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/ceph/locks.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ int ceph_flock(struct file *file, int cmd, struct file_lock *fl)
169169
}
170170

171171
/**
172-
* Must be called with BKL already held. Fills in the passed
172+
* Must be called with lock_flocks() already held. Fills in the passed
173173
* counter variables, so you can prepare pagelist metadata before calling
174174
* ceph_encode_locks.
175175
*/

0 commit comments

Comments
 (0)