[hackers] [ubase][PATCH] mount: fix mount -o move

From: illiliti <illiliti_AT_protonmail.com>
Date: Fri, 03 Apr 2020 02:20:27 +0000

while trying to move mount point using 'move' option, old mount point stay mounted. this patch fixes this behaviour


diff --git a/mount.c b/mount.c
index e3d00b8..172fd05 100644
--- a/mount.c
+++ b/mount.c
_AT_@ -36,6 +36,7 @@ struct {
         { "mand", "nomand", MS_MANDLOCK },
         { "relatime", "norelatime", MS_RELATIME },
         { "bind", NULL, MS_BIND },
+ { "move", NULL, MS_MOVE },
         { NULL, NULL, 0 }
 };
Received on Fri Apr 03 2020 - 04:20:27 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 03 2020 - 04:36:34 CEST