]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
mount: remounting tmpfs read-write hangs (selinux)
authorKarel Zak <kzak@redhat.com>
Mon, 17 Oct 2011 16:58:03 +0000 (18:58 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Oct 2011 16:58:03 +0000 (18:58 +0200)
Reported-by: Petr Pisar <ppisar@redhat.com>
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=746705
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.c

index f8ea5ca1f7859d52411177d0fac835da7a2df1e5..9b444c433ee2a5f2a60c8dd384d48b3047c4fdbf 100644 (file)
@@ -445,6 +445,7 @@ static char *remove_context_options(char *opts)
                        p = begin;
                        changed = 1;
                }
+               begin = end = NULL;
        }
 
        if (changed && verbose)