summaryrefslogtreecommitdiffstats
path: root/net/ceph/cls_lock_client.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2017-04-13 12:17:38 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-05-04 09:19:23 +0200
commitcbbfb0ff115159847121afe9c7553bd5c86f6062 (patch)
tree77a36c3a69ab97acb59f7a3b95f308612af3c198 /net/ceph/cls_lock_client.c
parentrbd: ignore unlock errors (diff)
downloadlinux-cbbfb0ff115159847121afe9c7553bd5c86f6062.tar.xz
linux-cbbfb0ff115159847121afe9c7553bd5c86f6062.zip
rbd: store lock cookie
In preparation for supporting set_cookie method (or rather set_cookie fallback for older OSDs), store the lock cookie on lock and use it on unlock instead of recalculating from rbd_dev->watch_cookie. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'net/ceph/cls_lock_client.c')
0 files changed, 0 insertions, 0 deletions