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:Ilya Dryomov <idryomov@gmail.com> Stable-dep-of: 58815900 ("rbd: retrieve and check lock owner twice before blocklisting") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading