xfs: validate recovered name buffers when recovering xattr items
[ Upstream commit 1c7f09d2 ] Strengthen the xattri log item recovery code by checking that we actually have the required name and newname buffers for whatever operation we're replaying. 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>
Loading