aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph/cls_lock_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ceph/cls_lock_client.h')
-rw-r--r--include/linux/ceph/cls_lock_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ceph/cls_lock_client.h b/include/linux/ceph/cls_lock_client.h
index bea6c77d2093..17bc7584d1fe 100644
--- a/include/linux/ceph/cls_lock_client.h
+++ b/include/linux/ceph/cls_lock_client.h
@@ -52,4 +52,7 @@ int ceph_cls_lock_info(struct ceph_osd_client *osdc,
char *lock_name, u8 *type, char **tag,
struct ceph_locker **lockers, u32 *num_lockers);
+int ceph_cls_assert_locked(struct ceph_osd_request *req, int which,
+ char *lock_name, u8 type, char *cookie, char *tag);
+
#endif