]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: handle unallocated inodes in xfs_inode_from_disk
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Aug 2020 20:32:06 +0000 (16:32 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 10 Aug 2020 20:32:06 +0000 (16:32 -0400)
commitf47e002f760660b3333945bf19c4ebf9ba2de36e
tree05430d8964355d83623554722ab15aa5cc922b41
parent07973a771c259776500148713f8f922f5bc0e70f
xfs: handle unallocated inodes in xfs_inode_from_disk

Source kernel commit: 0bce8173fdcf203c92a4d57dc7d3bb642ed478a1

Handle inodes with a 0 di_mode in xfs_inode_from_disk, instead of partially
duplicating inode reading in xfs_iread.

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_inode_buf.c