]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfs: check opcode and iovec count match in xlog_recover_attri_commit_pass2
authorDarrick J. Wong <djwong@kernel.org>
Wed, 30 Apr 2025 21:26:52 +0000 (14:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 May 2025 07:41:37 +0000 (09:41 +0200)
commitd6f7f0ddc4c419136d6c27220ae44c45d33d666b
tree5d56b75dd8ebc1da7e13a82cca57a7c5de8b107a
parent3a97d267fd91214d4a0da953b129c877587967ef
xfs: check opcode and iovec count match in xlog_recover_attri_commit_pass2

[ Upstream commit ad206ae50eca62836c5460ab5bbf2a6c59a268e7 ]

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>
Signed-off-by: Leah Rumancik <leah.rumancik@gmail.com>
Acked-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_attr_item.c