]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core: add minor comment
authorLennart Poettering <lennart@poettering.net>
Mon, 6 Jun 2016 20:03:31 +0000 (22:03 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 6 Jun 2016 20:03:31 +0000 (22:03 +0200)
Let's explain #3444 briefly in the sources, too.

src/core/mount.c

index 8290ac859dc0a3fbc24f371a6fc722bf766d9573..fda4d65d6f13df4790066776e42cc389a9b710cf 100644 (file)
@@ -1706,7 +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->result = MOUNT_SUCCESS; /* make sure we forget any earlier umount failures */
                                 mount_enter_dead(mount, MOUNT_SUCCESS);
                                 break;