X-Git-Url: https://repo.jachan.dev/linux.git/blobdiff_plain/f7fdd84e04c8fdc9196abe3bfd27535bccb52ee5..49f897647aab5958ad34a392b82fb22b7c83c01e:/fs/squashfs/export.c diff --git a/fs/squashfs/export.c b/fs/squashfs/export.c index 5e1101ff276f..8073b6532cf0 100644 --- a/fs/squashfs/export.c +++ b/fs/squashfs/export.c @@ -110,7 +110,7 @@ static struct dentry *squashfs_fh_to_parent(struct super_block *sb, static struct dentry *squashfs_get_parent(struct dentry *child) { - struct inode *inode = child->d_inode; + struct inode *inode = d_inode(child); unsigned int parent_ino = squashfs_i(inode)->parent; return squashfs_export_iget(inode->i_sb, parent_ino);