]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/mount.c
mount: make sure got into MOUNT_DEAD state after a successful umount (#3444)
[thirdparty/systemd.git] / src / core / mount.c
index 665a60bb550ddab8ff70600ebbbabb9ab1ab812e..8290ac859dc0a3fbc24f371a6fc722bf766d9573 100644 (file)
@@ -1706,6 +1706,7 @@ static int mount_dispatch_io(sd_event_source *source, int fd, uint32_t revents,
                                 /* This has just been unmounted by
                                  * somebody else, follow the state
                                  * change. */
+                                mount->result = MOUNT_SUCCESS;
                                 mount_enter_dead(mount, MOUNT_SUCCESS);
                                 break;