aboutsummaryrefslogtreecommitdiffstats
path: root/fs/libfs.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-12-07 12:01:50 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2009-12-16 12:16:48 -0500
commit39159de2a091a35ea86b188ebdc5e642f5cfc832 (patch)
tree793c0c95fe22ddb06c4cc4271428ad41386ccf6b /fs/libfs.c
parentd1625436b4fe526fa463bc0519ba37d7e4b37bbc (diff)
downloadkernel_samsung_smdk4412-39159de2a091a35ea86b188ebdc5e642f5cfc832.zip
kernel_samsung_smdk4412-39159de2a091a35ea86b188ebdc5e642f5cfc832.tar.gz
kernel_samsung_smdk4412-39159de2a091a35ea86b188ebdc5e642f5cfc832.tar.bz2
vfs: force reval of target when following LAST_BIND symlinks (try #7)
procfs-style symlinks return a last_type of LAST_BIND without an actual path string. This causes __follow_link to skip calling __vfs_follow_link and so the dentry isn't revalidated. This is a problem when the link target sits on NFSv4 as it depends on the VFS to revalidate the dentry before using it on an open call. Ensure that this occurs by forcing a revalidation of the target dentry of LAST_BIND symlinks. Signed-off-by: Jeff Layton <jlayton@redhat.com> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com> Acked-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions