android_kernel_xiaomi_sm8350/fs/proc
Al Viro 86acdca1b6 fix autofs/afs/etc. magic mountpoint breakage
We end up trying to kfree() nd.last.name on open("/mnt/tmp", O_CREAT)
if /mnt/tmp is an autofs direct mount.  The reason is that nd.last_type
is bogus here; we want LAST_BIND for everything of that kind and we
get LAST_NORM left over from finding parent directory.

So make sure that it *is* set properly; set to LAST_BIND before
doing ->follow_link() - for normal symlinks it will be changed
by __vfs_follow_link() and everything else needs it set that way.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-01-14 09:05:25 -05:00
..
array.c proc: partially revert "procfs: provide stack information for threads" 2010-01-11 09:34:06 -08:00
base.c fix autofs/afs/etc. magic mountpoint breakage 2010-01-14 09:05:25 -05:00
cmdline.c
cpuinfo.c
devices.c
generic.c proc: rename de_get() to pde_get() and inline it 2009-12-16 07:19:57 -08:00
inode.c proc: rename de_get() to pde_get() and inline it 2009-12-16 07:19:57 -08:00
internal.h proc: rename de_get() to pde_get() and inline it 2009-12-16 07:19:57 -08:00
interrupts.c
Kconfig
kcore.c
kmsg.c
loadavg.c
Makefile
meminfo.c
mmu.c
nommu.c
page.c mm: export stable page flags 2009-12-16 12:19:59 +01:00
proc_devtree.c
proc_net.c
proc_sysctl.c
proc_tty.c
root.c
softirqs.c
stat.c
task_mmu.c smaps: fix wrong rss count 2010-01-11 09:34:07 -08:00
task_nommu.c procfs: use proper units for noMMU statm 2009-12-15 08:53:24 -08:00
uptime.c
version.c
vmcore.c