mount: call hotplug-call with ACTION=remove before trying to unmount
authorRafał Miłecki <rafal@milecki.pl>
Wed, 21 Feb 2018 12:32:17 +0000 (13:32 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 26 Feb 2018 05:12:03 +0000 (06:12 +0100)
commitaaf2743670ef230a6a8922030ac30d2303e2accd
treed3b9629ef27922165277719ee74be263bb637281
parent97da4edeb9eb3b26c9843d3a5ab605e7bcf2573f
mount: call hotplug-call with ACTION=remove before trying to unmount

This increases a chance of successfully unmounting a drive as calling
hotplug.d scripts may result in stopping applications using it.

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