summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Schutt <jaschut@sandia.gov>2013-05-15 10:38:12 -0600
committerSage Weil <sage@inktank.com>2013-07-01 09:52:01 -0700
commit4d1bf79aff7962ab0654d66127ebb6eec17460ab (patch)
tree7055723609ff9b6a9619d77f4d153b7432075017
parent491205a8b45e3d9b594e1e7a997284f2e82f22e9 (diff)
downloadop-kernel-dev-4d1bf79aff7962ab0654d66127ebb6eec17460ab.zip
op-kernel-dev-4d1bf79aff7962ab0654d66127ebb6eec17460ab.tar.gz
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>
-rw-r--r--fs/ceph/locks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/locks.c b/fs/ceph/locks.c
index ebbf680..8978851 100644
--- a/fs/ceph/locks.c
+++ b/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.
*/
OpenPOWER on IntegriCloud