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>
This commit is contained in:
Jim Schutt 2013-05-15 10:38:12 -06:00 committed by Sage Weil
parent 491205a8b4
commit 4d1bf79aff

View file

@ -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
* ceph_encode_locks.
*/