Dave Chinner cbc8adf897 xfs: add CRC checking to dir2 free blocks
This addition follows the same pattern as the dir2 block CRCs, but
with a few differences. The main difference is that the free block
header is different between the v2 and v3 formats, so an "in-core"
free block header has been added and _todisk/_from_disk functions
used to abstract the differences in structure format from the code.
This is similar to the on-disk superblock versus the in-core
superblock setup. The in-core strucutre is populated when the buffer
is read from disk, all the in memory checks and modifications are
done on the in-core version of the structure which is written back
to the buffer before the buffer is logged.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
2013-04-27 11:58:16 -05:00
..
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2012-11-19 20:11:24 -06:00
2013-04-21 14:57:43 -05:00
2013-04-21 14:55:34 -05:00
2012-11-19 20:11:24 -06:00
2011-07-13 13:43:48 +02:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2011-08-12 16:21:35 -05:00
2013-02-22 23:31:31 -05:00
2013-04-21 14:57:43 -05:00
2012-05-14 16:20:54 -05:00
2013-02-22 23:31:31 -05:00
2011-08-12 16:21:35 -05:00
2013-02-22 23:31:31 -05:00
2011-08-12 16:21:35 -05:00
2012-11-14 15:12:45 -06:00
2011-08-12 16:21:35 -05:00
2013-04-21 14:58:22 -05:00
2013-04-21 14:58:22 -05:00
2012-09-18 01:01:39 -07:00
2012-11-19 20:11:24 -06:00
2012-10-17 12:01:25 -05:00
2012-05-14 16:21:00 -05:00
2012-01-03 22:55:00 -05:00
2011-08-12 16:21:35 -05:00