diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-11-12 22:54:06 +1100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-11-15 21:34:14 -0600 |
commit | bb80c6d79a3b0f9b6c3236a4bec021c72615bfd1 (patch) | |
tree | 0ec09465d786ed816c1ab6c9179723ae525366f2 /ipc | |
parent | 3702ce6ed71cd60451ab278088863456dcb0dd99 (diff) | |
download | blackbird-op-linux-bb80c6d79a3b0f9b6c3236a4bec021c72615bfd1.tar.gz blackbird-op-linux-bb80c6d79a3b0f9b6c3236a4bec021c72615bfd1.zip |
xfs: verify AGFL blocks as they are read from disk
Add an AGFL block verify callback function and pass it into the
buffer read functions.
While this commit adds verification code to the AGFL, it cannot be
used reliably until the CRC format change comes along as mkfs does
not initialise the full AGFL. Hence it can be full of garbage at the
first mount and will fail verification right now. CRC enabled
filesystems won't have this problem, so leave the code that has
already been written ifdef'd out until the proper time.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Phil White <pwhite@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions