summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_btree.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-11-12 22:54:06 +1100
committerBen Myers <bpm@sgi.com>2012-11-15 21:34:14 -0600
commitbb80c6d79a3b0f9b6c3236a4bec021c72615bfd1 (patch)
tree0ec09465d786ed816c1ab6c9179723ae525366f2 /fs/xfs/xfs_btree.c
parent3702ce6ed71cd60451ab278088863456dcb0dd99 (diff)
downloadop-kernel-dev-bb80c6d79a3b0f9b6c3236a4bec021c72615bfd1.zip
op-kernel-dev-bb80c6d79a3b0f9b6c3236a4bec021c72615bfd1.tar.gz
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 'fs/xfs/xfs_btree.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud