aboutsummaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2009-12-22 23:45:11 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2010-01-14 09:05:25 -0500
commit86acdca1b63e6890540fa19495cfc708beff3d8b (patch)
treef589566363ef4f77098eba9ced48325f410168e6 /fs/9p
parent004b35063296b6772fa72404a35b498f1e71e87e (diff)
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>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions