Commit 145248eb authored by Ilya Dryomov's avatar Ilya Dryomov Committed by Greg Kroah-Hartman
Browse files

libceph, rbd: ignore addr->type while comparing in some cases



[ Upstream commit 313771e8 ]

For libceph, this ensures that libceph instance sharing (share option)
continues to work.  For rbd, this avoids blocklisting alive lock owners
(locker addr is always LEGACY, while watcher addr is ANY in nautilus).

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Stable-dep-of: 58815900 ("rbd: retrieve and check lock owner twice before blocklisting")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 61c303cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment