mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
VFS: Handle lower layer dentry/inode in pathwalk
Make use of d_backing_inode() in pathwalk to gain access to an inode or dentry that's on a lower layer. Signed-off-by: David Howells <[email protected]>
This commit is contained in:
parent
237d8b327a
commit
63afdfc781
2 changed files with 6 additions and 6 deletions
|
|
@ -367,7 +367,7 @@ retry:
|
|||
if (res)
|
||||
goto out;
|
||||
|
||||
inode = path.dentry->d_inode;
|
||||
inode = d_backing_inode(path.dentry);
|
||||
|
||||
if ((mode & MAY_EXEC) && S_ISREG(inode->i_mode)) {
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue