summaryrefslogtreecommitdiffstats
path: root/fs/ceph/locks.c
diff options
context:
space:
mode:
authorJim Schutt <jaschut@sandia.gov>2013-05-15 18:38:12 +0200
committerSage Weil <sage@inktank.com>2013-07-01 18:52:01 +0200
commit4d1bf79aff7962ab0654d66127ebb6eec17460ab (patch)
tree7055723609ff9b6a9619d77f4d153b7432075017 /fs/ceph/locks.c
parentrbd: Use min_t() to fix comparison of distinct pointer types warning (diff)
downloadlinux-4d1bf79aff7962ab0654d66127ebb6eec17460ab.tar.xz
linux-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.
*/