Преглед изворни кода

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>
Jim Schutt пре 12 година
родитељ
комит
4d1bf79aff
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      fs/ceph/locks.c

+ 1 - 1
fs/ceph/locks.c

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