Revision 156cacb1d0d36b0d0582d9e798e58e0044f516b3 authored by Al Viro on 21 September 2012, 12:19:02 UTC, committed by Al Viro on 23 September 2012, 00:48:18 UTC
normally we deal with lock_mount()/umount races by checking that mountpoint to be is still in our namespace after lock_mount() has been done. However, do_add_mount() skips that check when called with MNT_SHRINKABLE in flags (i.e. from finish_automount()). The reason is that ->mnt_ns may be a temporary namespace created exactly to contain automounts a-la NFS4 referral handling. It's not the namespace of the caller, though, so check_mnt() would fail here. We still need to check that ->mnt_ns is non-NULL in that case, though. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent fea7a08
File | Mode | Size |
---|---|---|
include | ||
Kconfig | -rw-r--r-- | 4.5 KB |
Makefile | -rw-r--r-- | 2.2 KB |
Makefile.boot | -rw-r--r-- | 87 bytes |
ams-delta-fiq-handler.S | -rw-r--r-- | 8.8 KB |
ams-delta-fiq.c | -rw-r--r-- | 4.4 KB |
board-ams-delta.c | -rw-r--r-- | 14.3 KB |
board-fsample.c | -rw-r--r-- | 8.7 KB |
board-generic.c | -rw-r--r-- | 2.3 KB |
board-h2-mmc.c | -rw-r--r-- | 1.8 KB |
board-h2.c | -rw-r--r-- | 10.1 KB |
board-h2.h | -rw-r--r-- | 1.5 KB |
board-h3-mmc.c | -rw-r--r-- | 1.6 KB |
board-h3.c | -rw-r--r-- | 9.8 KB |
board-h3.h | -rw-r--r-- | 1.5 KB |
board-htcherald.c | -rw-r--r-- | 17.1 KB |
board-innovator.c | -rw-r--r-- | 11.3 KB |
board-nand.c | -rw-r--r-- | 923 bytes |
board-nokia770.c | -rw-r--r-- | 6.2 KB |
board-osk.c | -rw-r--r-- | 15.3 KB |
board-palmte.c | -rw-r--r-- | 6.6 KB |
board-palmtt.c | -rw-r--r-- | 6.9 KB |
board-palmz71.c | -rw-r--r-- | 7.8 KB |
board-perseus2.c | -rw-r--r-- | 7.3 KB |
board-sx1-mmc.c | -rw-r--r-- | 1.5 KB |
board-sx1.c | -rw-r--r-- | 9.8 KB |
board-voiceblue.c | -rw-r--r-- | 7.3 KB |
clock.c | -rw-r--r-- | 13.4 KB |
clock.h | -rw-r--r-- | 3.9 KB |
clock_data.c | -rw-r--r-- | 27.1 KB |
common.h | -rw-r--r-- | 2.5 KB |
devices.c | -rw-r--r-- | 10.1 KB |
dma.c | -rw-r--r-- | 8.5 KB |
flash.c | -rw-r--r-- | 590 bytes |
fpga.c | -rw-r--r-- | 5.2 KB |
gpio15xx.c | -rw-r--r-- | 3.1 KB |
gpio16xx.c | -rw-r--r-- | 6.4 KB |
gpio7xx.c | -rw-r--r-- | 6.6 KB |
i2c.c | -rw-r--r-- | 1.0 KB |
id.c | -rw-r--r-- | 6.4 KB |
io.c | -rw-r--r-- | 3.8 KB |
iomap.h | -rw-r--r-- | 1.6 KB |
irq.c | -rw-r--r-- | 7.2 KB |
lcd_dma.c | -rw-r--r-- | 10.6 KB |
leds-h2p2-debug.c | -rw-r--r-- | 3.1 KB |
leds-innovator.c | -rw-r--r-- | 1.5 KB |
leds-osk.c | -rw-r--r-- | 2.0 KB |
leds.c | -rw-r--r-- | 1.5 KB |
leds.h | -rw-r--r-- | 146 bytes |
mailbox.c | -rw-r--r-- | 4.3 KB |
mcbsp.c | -rw-r--r-- | 8.9 KB |
mux.c | -rw-r--r-- | 20.4 KB |
ocpi.c | -rw-r--r-- | 2.7 KB |
opp.h | -rw-r--r-- | 719 bytes |
opp_data.c | -rw-r--r-- | 2.1 KB |
pm.c | -rw-r--r-- | 19.1 KB |
pm.h | -rw-r--r-- | 8.9 KB |
pm_bus.c | -rw-r--r-- | 1.7 KB |
reset.c | -rw-r--r-- | 494 bytes |
serial.c | -rw-r--r-- | 6.1 KB |
sleep.S | -rw-r--r-- | 9.1 KB |
sram.S | -rw-r--r-- | 1.5 KB |
time.c | -rw-r--r-- | 6.9 KB |
timer.c | -rw-r--r-- | 4.0 KB |
timer32k.c | -rw-r--r-- | 5.9 KB |
usb.c | -rw-r--r-- | 14.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...