mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -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
|
|
@ -1524,7 +1524,7 @@ struct dentry *jfs_get_parent(struct dentry *dentry)
|
|||
parent_ino =
|
||||
le32_to_cpu(JFS_IP(d_inode(dentry))->i_dtroot.header.idotdot);
|
||||
|
||||
return d_obtain_alias(jfs_iget(d_inode(dentry)->i_sb, parent_ino));
|
||||
return d_obtain_alias(jfs_iget(dentry->d_sb, parent_ino));
|
||||
}
|
||||
|
||||
const struct inode_operations jfs_dir_inode_operations = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue