summaryrefslogtreecommitdiff
path: root/fs/ceph/locks.c
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 /fs/ceph/locks.c
parent491205a8b45e3d9b594e1e7a997284f2e82f22e9 (diff)
downloadlwn-4d1bf79aff7962ab0654d66127ebb6eec17460ab.tar.gz
lwn-4d1bf79aff7962ab0654d66127ebb6eec17460ab.zip
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>
Diffstat (limited to 'fs/ceph/locks.c')
-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 ebbf680378e2..89788515a63d 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.
*/