diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-10-07 16:22:52 -0700 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2016-04-23 09:24:42 +0200 |
commit | d26388bb266798547bb0314acc1b222119c1db93 (patch) | |
tree | ee1c55c41c8e8985572e1d72d50ac8a0e3e798e1 /sound | |
parent | cf9d5808b7a0e8c88cb3a5d198865567e08c03ea (diff) |
mnt: Move the clear of MNT_LOCKED from copy_tree to it's callers.
commit 8486a7882b5ba906992fd78bbfcefaae7fe285cc upstream.
Clear MNT_LOCKED in the callers of copy_tree except copy_mnt_ns, and
collect_mounts. In copy_mnt_ns it is necessary to create an exact
copy of a mount tree, so not clearing MNT_LOCKED is important.
Similarly collect_mounts is used to take a snapshot of the mount tree
for audit logging purposes and auditing using a faithful copy of the
tree is important.
This becomes particularly significant when we start setting MNT_LOCKED
on rootfs to prevent it from being unmounted.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions