]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: validate attr leaf buffer owners
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:37 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:00 +0000 (17:01 -0700)
commitb0195029f67e3c87cdf23063beb005df30e02896
treee26cb7f013862d6b83f65d219b4eb5fb89409af8
parentda833baeb58db529fb76896ca7f3d8f9fbb7bfc3
xfs: validate attr leaf buffer owners

Source kernel commit: f4887fbc41dcb1560ec5da982ac7c6ad04b71de5

Create a leaf block header checking function to validate the owner field
of xattr leaf blocks.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_attr.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_attr_leaf.h
libxfs/xfs_da_btree.c
libxfs/xfs_da_btree.h
libxfs/xfs_exchmaps.c