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:
Al Viro 2016-04-10 01:33:30 -04:00
commit fc64005c93
30 changed files with 41 additions and 50 deletions

View file

@ -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);