Message ID | 20180508180436.716-57-mfasheh@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/openpromfs/inode.c b/fs/openpromfs/inode.c index 2200662a9bf1..d1c59e6252c5 100644 --- a/fs/openpromfs/inode.c +++ b/fs/openpromfs/inode.c @@ -229,7 +229,7 @@ static struct dentry *openpromfs_lookup(struct inode *dir, struct dentry *dentry return ERR_PTR(-ENOENT); found: - inode = openprom_iget(dir->i_sb, ino); + inode = openprom_iget(inode_sb(dir), ino); mutex_unlock(&op_mutex); if (IS_ERR(inode)) return ERR_CAST(inode);
Signed-off-by: Mark Fasheh <mfasheh@suse.de> --- fs/openpromfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)