]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: always pass a valid hdr to xfs_dir3_leaf_check_int
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jan 2020 16:29:44 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:44 +0000 (11:29 -0500)
commit7bba6d84cdb958f50bcefe8368c79cbba417b22e
tree477701554daaf3bdf1f34d169d6cdf7002a89e6f
parentd85595d09af7924b1123e7c583e2264c901afc03
xfs: always pass a valid hdr to xfs_dir3_leaf_check_int

Source kernel commit: 23220fe260c4b307da1c1fa82a944c50bf0742e4

Move the code for extracting the incore header to the only caller that
didn't already do that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
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_dir2_leaf.c