]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
krbd: check device node accessibility only if we actually mapped 39968/head
authorIlya Dryomov <idryomov@gmail.com>
Mon, 15 Mar 2021 19:30:07 +0000 (20:30 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 17 Mar 2021 19:26:34 +0000 (20:26 +0100)
commit15527ae8faa853ef3850604d55beb224cb79c559
treed42b88253cbb07a9e81389489af49c15f2d46846
parentb977a1a415a2a371435dfaf4decd29d9d9063d77
krbd: check device node accessibility only if we actually mapped

Fix a braino that came with commit f6854ac65d2a ("krbd: make sure the
device node is accessible after the mapping").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 8330c9fa4e27204c768777afe45af0eeb273c835)
src/krbd.cc