]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - repair/attr_repair.c
repair: detect and handle attribute tree CRC errors
authorDave Chinner <dchinner@redhat.com>
Thu, 1 May 2014 23:31:33 +0000 (09:31 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 1 May 2014 23:31:33 +0000 (09:31 +1000)
commit3a1d34e2c734752f5be8a36a964fd1c912c91a88
tree5849361a0d99877d6f904555fb2b928753078cc1
parent7cb3f7fe20439044aad6cc5512ea6ec408227e86
repair: detect and handle attribute tree CRC errors

Currently the attribute code will not detect and correct errors in
the attribute tree. It also fails to validate the CRCs and headers
on remote attribute blocks. Ensure that all the attribute blocks are
CRC checked and that the processing functions understand the correct
block formats for decoding.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
repair/attr_repair.c