mount: reorder deleting code in the mount_enum_drives()
authorRafał Miłecki <rafal@milecki.pl>
Fri, 16 Feb 2018 11:50:24 +0000 (12:50 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 21 Feb 2018 08:34:43 +0000 (09:34 +0100)
commite77dc6d122ea398e319c8cc310077deb4b096362
tree2aaaab989d3e365537667aa7bba86883d89a1248
parent76766aef149ac5b9562ab9bcca33830f80beab9d
mount: reorder deleting code in the mount_enum_drives()

Make it execute required unmount code first and then take care of
removing entry from the internal list. This is a small cleanup grouping
code by their purpose.

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