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 <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -146,7 +146,7 @@ static __be32 *encode_fsid(__be32 *p, struct svc_fh *fhp)
|
||||
default:
|
||||
case FSIDSOURCE_DEV:
|
||||
p = xdr_encode_hyper(p, (u64)huge_encode_dev
|
||||
(d_inode(fhp->fh_dentry)->i_sb->s_dev));
|
||||
(fhp->fh_dentry->d_sb->s_dev));
|
||||
break;
|
||||
case FSIDSOURCE_FSID:
|
||||
p = xdr_encode_hyper(p, (u64) fhp->fh_export->ex_fsid);
|
||||
|
Reference in New Issue
Block a user