]> 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>
Tue, 18 Oct 2011 12:22:28 +0000 (14:22 +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 5066abc4423e95b7660904fb9d7e8d60dec297e2..872ab7fbd947832e6b2413628019b5ef78d3cbcb 100644 (file)
@@ -446,6 +446,7 @@ static char *remove_context_options(char *opts)
                        p = begin;
                        changed = 1;
                }
+               begin = end = NULL;
        }
 
        if (changed && verbose)