block: don't duplicate unmounting code in the mount_action()
authorRafał Miłecki <rafal@milecki.pl>
Fri, 30 Nov 2018 17:26:12 +0000 (18:26 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 5 Dec 2018 20:56:37 +0000 (21:56 +0100)
commit1913feacb1ad1fb6433d316d81e2e3bee365ec19
tree62e6f8d6070bd1e4bb96336e14c3929de85a9625
parent6b445fa39bc1ffa88e871c31999b57719c3909f8
block: don't duplicate unmounting code in the mount_action()

Use umount_device() helper instead.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
block.c