diff options
author | Florian Margaine <florian@platform.sh> | 2017-12-13 16:43:59 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-01-09 17:40:21 +0100 |
commit | edd8ca8015800b354453b891d38960f3a474b7e4 (patch) | |
tree | 708eaf41ea5402e684dcf5f69f1b4030253e2e23 /drivers/sbus | |
parent | b2cd1df66037e7c4697c7e40496bf7e4a5e16a2d (diff) |
rbd: reacquire lock should update lock owner client id
Otherwise, future operations on this RBD using exclusive-lock are
going to require the lock from a non-existent client id.
Cc: stable@vger.kernel.org
Fixes: 14bb211d324d ("rbd: support updating the lock cookie without releasing the lock")
Link: http://tracker.ceph.com/issues/19929
Signed-off-by: Florian Margaine <florian@platform.sh>
[idryomov@gmail.com: rbd_set_owner_cid() call, __rbd_lock() helper]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions