From: Karel Zak Date: Mon, 17 Oct 2011 16:58:03 +0000 (+0200) Subject: mount: remounting tmpfs read-write hangs (selinux) X-Git-Tag: v2.21-rc1~329 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=918e4271252ac49cf2d9f8ab56a55ba4dd74b583;p=thirdparty%2Futil-linux.git mount: remounting tmpfs read-write hangs (selinux) Reported-by: Petr Pisar Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=746705 Signed-off-by: Karel Zak --- diff --git a/mount/mount.c b/mount/mount.c index f8ea5ca1f7..9b444c433e 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -445,6 +445,7 @@ static char *remove_context_options(char *opts) p = begin; changed = 1; } + begin = end = NULL; } if (changed && verbose)