ceph: fix up comment for ceph_count_locks() as to which lock to hold
authorJim Schutt <jaschut@sandia.gov>
Wed, 15 May 2013 16:38:12 +0000 (10:38 -0600)
committerSage Weil <sage@inktank.com>
Mon, 1 Jul 2013 16:52:01 +0000 (09:52 -0700)
Signed-off-by: Jim Schutt <jaschut@sandia.gov>
Reviewed-by: Alex Elder <elder@inktank.com>
fs/ceph/locks.c

index ebbf680..8978851 100644 (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.
  */