xfs: check opcode and iovec count match in xlog_recover_attri_commit_pass2
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 16:47:26 +0000 (09:47 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 23 Apr 2024 14:46:52 +0000 (07:46 -0700)
commitad206ae50eca62836c5460ab5bbf2a6c59a268e7
tree32ea2e1f458bba4a55f133cc400a3bb1095da0c8
parentf759784cb61ceb77604326cd53cc2da88d24842f
xfs: check opcode and iovec count match in xlog_recover_attri_commit_pass2

Check that the number of recovered log iovecs is what is expected for
the xattri opcode is expecting.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_attr_item.c