summaryrefslogtreecommitdiffstats
path: root/mount/mount.c
diff options
context:
space:
mode:
authorKarel Zak2011-10-17 18:58:03 +0200
committerKarel Zak2011-10-17 18:58:03 +0200
commit918e4271252ac49cf2d9f8ab56a55ba4dd74b583 (patch)
tree186cc530e46ca1a7f02b59000a1d325b349129e3 /mount/mount.c
parentlibmount: unable to umount nfs shares using the force option (diff)
downloadkernel-qcow2-util-linux-918e4271252ac49cf2d9f8ab56a55ba4dd74b583.tar.gz
kernel-qcow2-util-linux-918e4271252ac49cf2d9f8ab56a55ba4dd74b583.tar.xz
kernel-qcow2-util-linux-918e4271252ac49cf2d9f8ab56a55ba4dd74b583.zip
mount: remounting tmpfs read-write hangs (selinux)
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>
Diffstat (limited to 'mount/mount.c')
-rw-r--r--mount/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mount/mount.c b/mount/mount.c
index f8ea5ca1f..9b444c433 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)