mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
don't bother with ->d_inode->i_sb - it's always equal to ->d_sb
... and neither can ever be NULL Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
04c57f4501
commit
fc64005c93
30 changed files with 41 additions and 50 deletions
|
|
@ -457,7 +457,7 @@ static struct dentry *nilfs_get_parent(struct dentry *child)
|
|||
|
||||
root = NILFS_I(d_inode(child))->i_root;
|
||||
|
||||
inode = nilfs_iget(d_inode(child)->i_sb, root, ino);
|
||||
inode = nilfs_iget(child->d_sb, root, ino);
|
||||
if (IS_ERR(inode))
|
||||
return ERR_CAST(inode);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue