summaryrefslogtreecommitdiffstats
path: root/fs/ceph/dir.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2020-03-16 17:16:28 +0100
committerIlya Dryomov <idryomov@gmail.com>2020-04-13 08:55:49 +0200
commitb8776051529230f76e464d5ffc5d1cf8465576bf (patch)
treee11ac47ff54f5db33102937957b74627a1b9a449 /fs/ceph/dir.c
parentrbd: call rbd_dev_unprobe() after unwatching and flushing notifies (diff)
downloadlinux-b8776051529230f76e464d5ffc5d1cf8465576bf.tar.xz
linux-b8776051529230f76e464d5ffc5d1cf8465576bf.zip
rbd: don't test rbd_dev->opts in rbd_dev_image_release()
rbd_dev->opts is used to distinguish between the image that is being mapped and a parent. However, because we no longer establish watch for read-only mappings, this test is imprecise and results in unnecessary rbd_unregister_watch() calls. Make it consistent with need_watch in rbd_dev_image_probe(). Fixes: b9ef2b8858a0 ("rbd: don't establish watch for read-only mappings") Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'fs/ceph/dir.c')
0 files changed, 0 insertions, 0 deletions