Kir Kolyshkin
f8dbc31b78
pkg/system.EnsureRemoveAll: don't call Mounted
...
1. Call to mount.Mounted() is very expensive and it's redundant
to call it before Unmount().
2. Calling mount.Mounted() after an error from Unmount() is
questionable -- if umount failed, the mount is probably
still there anyway, it doesn't make sense to check it.
This should result in faster code with no change in functionality.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
2020-03-09 13:08:57 -07:00
..
2019-03-12 18:41:55 -07:00
2018-02-05 16:51:57 -05:00
2019-09-18 12:57:33 +02:00
2019-11-27 15:38:17 +01:00
2018-02-05 16:51:57 -05:00
2019-11-27 15:38:17 +01:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2019-08-08 15:05:49 +02:00
2019-11-27 15:38:17 +01:00
2019-03-12 18:41:55 -07:00
2019-10-22 02:53:00 +02:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-06-27 15:24:26 -07:00
2018-02-05 16:51:57 -05:00
2018-12-19 23:57:06 +01:00
2018-02-05 16:51:57 -05:00
2019-09-18 12:56:54 +02:00
2019-09-18 12:56:54 +02:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-09-05 17:01:05 -07:00
2018-02-05 16:51:57 -05:00
2020-03-09 15:50:43 +01:00
2019-09-06 16:25:14 -07:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2020-02-11 00:06:42 +01:00
2020-03-09 13:08:57 -07:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2019-08-01 20:22:49 +08:00
2018-02-05 16:51:57 -05:00
2020-02-11 00:06:42 +01:00
2018-12-19 23:57:06 +01:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2019-12-19 11:36:29 -08:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2018-02-05 16:51:57 -05:00
2019-08-22 08:25:13 +02:00
2018-02-05 16:51:57 -05:00
2020-02-26 07:56:12 -08:00
2018-02-05 16:51:57 -05:00