diff options
author | Florian Margaine <florian@platform.sh> | 2017-12-13 16:43:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-17 09:45:23 +0100 |
commit | e068cdee6347eda64a2ecf60c14382bb465175a2 (patch) | |
tree | 405e694abe1a9b6dee597ec34d06938762606bf0 /kernel/bpf/arraymap.c | |
parent | 961becd84df940157cced59d2d3b6ab8be70fa9a (diff) |
rbd: reacquire lock should update lock owner client id
commit edd8ca8015800b354453b891d38960f3a474b7e4 upstream.
Otherwise, future operations on this RBD using exclusive-lock are
going to require the lock from a non-existent client id.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions