diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-08-05 05:23:50 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-08-05 05:23:50 +0200 |
commit | aa65fa35ba6b589a12a6025739c2d935dd743b5a (patch) | |
tree | 08badbdb13e71dfd4a60d1bb4545f115ec2277b7 /fs/ext4/inode.c | |
parent | link_path_walk(): be careful when failing with ENOTDIR (diff) | |
download | linux-aa65fa35ba6b589a12a6025739c2d935dd743b5a.tar.xz linux-aa65fa35ba6b589a12a6025739c2d935dd743b5a.zip |
may_follow_link() should use nd->inode
Now that we can get there in RCU mode, we shouldn't play with
nd->path.dentry->d_inode - it's not guaranteed to be stable.
Use nd->inode instead.
Reported-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions