util-lib: make verbose_mount() grok MS_MOVE

Let's print a proper message if we see MS_MOVE.
This commit is contained in:
Lennart Poettering
2016-12-20 20:00:09 +01:00
parent f582cbca00
commit afe682bc7f
+3
View File
@@ -673,6 +673,9 @@ int mount_verbose(
else if ((flags & MS_BIND) && !type)
log_debug("Bind-mounting %s on %s (%s \"%s\")...",
what, where, strnull(fl), strempty(options));
else if (flags & MS_MOVE)
log_debug("Moving mount %s → %s (%s \"%s\")...",
what, where, strnull(fl), strempty(options));
else
log_debug("Mounting %s on %s (%s \"%s\")...",
strna(type), where, strnull(fl), strempty(options));