https://github.com/torvalds/linux
Revision 0b1b901b5a98bb36943d10820efc796f7cd45ff3 authored by Al Viro on 21 March 2014, 14:14:08 UTC, committed by Al Viro on 30 March 2014, 23:18:50 UTC
If the dest_mnt is not shared, propagate_mnt() does nothing -
there's no mounts to propagate to and thus no copies to create.
Might as well don't bother calling it in that case.

Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 1d6a32a
History
Tip revision: 0b1b901b5a98bb36943d10820efc796f7cd45ff3 authored by Al Viro on 21 March 2014, 14:14:08 UTC
don't bother with propagate_mnt() unless the target is shared
Tip revision: 0b1b901
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 267.3 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top