summaryrefslogtreecommitdiff
path: root/src/core/mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-06 22:03:31 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-06 22:03:31 +0200
commitcf6f7f66a4aff31286b2da850dd2d41595cf1f99 (patch)
tree17f57ce53b65a06cc2b2d0a9a523c03823f36df7 /src/core/mount.c
parent53203e5f8f9a79d0ad774e29ea165b471e64619f (diff)
core: add minor comment
Let's explain #3444 briefly in the sources, too.
Diffstat (limited to 'src/core/mount.c')
-rw-r--r--src/core/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mount.c b/src/core/mount.c
index 8290ac859d..fda4d65d6f 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -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;