commit | aa65fa35ba6b589a12a6025739c2d935dd743b5a | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Aug 04 23:23:50 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Aug 04 23:23:50 2015 -0400 |
tree | 08badbdb13e71dfd4a60d1bb4545f115ec2277b7 | |
parent | 97242f99a013950af63effa0732f8ef7db4e31ec [diff] |
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>