summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_btree.c
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-11-12 11:54:07 (GMT)
committerBen Myers <bpm@sgi.com>2012-11-16 03:34:19 (GMT)
commitaf133e8606d32c2aed43870491ebbdc56feec8a8 (patch)
treee74ee12057c2703f83a5e455a50ee590d504be70 /fs/xfs/xfs_btree.c
parentbb80c6d79a3b0f9b6c3236a4bec021c72615bfd1 (diff)
downloadlinux-af133e8606d32c2aed43870491ebbdc56feec8a8.tar.xz
xfs: verify inode buffers as they are read from disk
Add an inode buffer verify callback function and pass it into the buffer read functions. Inodes are special in that the verbose checks will be done when reading the inode, but we still need to sanity check the buffer when that is first read. Always verify the magic numbers in all inodes in the buffer, rather than jus ton debug kernels. 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