block: support umount device basename
authorDaniel Golle <daniel@makrotopia.org>
Fri, 23 Jul 2021 23:52:44 +0000 (00:52 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 23 Jul 2021 23:52:44 +0000 (00:52 +0100)
commit1d681ca59cada118633c6e2d65b882b4c8f0db58
treeafb19a31003c9e6900ac2a78e316767377b5cd61
parenta846c6b98d59b55f1e761ffc5aa75077f6944689
block: support umount device basename

blockd calls the umount action with the basename of the device rather
than the full path.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
block.c