xfs: call xfs_iformat_fork from xfs_inode_from_disk
authorChristoph Hellwig <hch@lst.de>
Thu, 14 May 2020 21:00:02 +0000 (14:00 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 19 May 2020 16:40:57 +0000 (09:40 -0700)
commitcb7d58594412fff106cde550dd9e0a7999cc2a0c
tree0b054930f050ecec3b8cb9a94b900c01b18b0472
parentb90c2a9c8b4422bb9398b50fe3d6163e46dcddec
xfs: call xfs_iformat_fork from xfs_inode_from_disk

We always need to fill out the fork structures when reading the inode,
so call xfs_iformat_fork from the tail of xfs_inode_from_disk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/libxfs/xfs_inode_buf.h
fs/xfs/xfs_inode_item_recover.c