block: mount_action: handle mount/umount deps
authorYousong Zhou <yszhou4tech@gmail.com>
Tue, 29 Oct 2019 12:39:48 +0000 (12:39 +0000)
committerJohn Crispin <john@phrozen.org>
Sat, 2 Nov 2019 18:22:44 +0000 (19:22 +0100)
commit32c3126b2f0464106d74317336b6aef1d7d5f82f
tree2a164ed6db2413fd35777ec5cb9db3a698c768c2
parentfb0700f0fdfc4bec220203d31df87be2b4ccc467
block: mount_action: handle mount/umount deps

This is required at least in system startup when "block hotplug" will be
triggered by udevtrigger.  E.g. /dev/vdb needs to be mounted at /mnt/s
and /dev/vdc /mnt.  It does not work if /dev/vdb was triggered then
mounted first

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
block.c