mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -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
|
|
@ -1250,7 +1250,7 @@ static struct dentry *udf_get_parent(struct dentry *child)
|
|||
brelse(fibh.sbh);
|
||||
|
||||
tloc = lelb_to_cpu(cfi.icb.extLocation);
|
||||
inode = udf_iget(d_inode(child)->i_sb, &tloc);
|
||||
inode = udf_iget(child->d_sb, &tloc);
|
||||
if (IS_ERR(inode))
|
||||
return ERR_CAST(inode);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue