summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2012-11-12 22:54:07 +1100
committerBen Myers <bpm@sgi.com>2012-11-15 21:34:19 -0600
commitaf133e8606d32c2aed43870491ebbdc56feec8a8 (patch)
treee74ee12057c2703f83a5e455a50ee590d504be70 /fs/xfs/xfs_inode.h
parentbb80c6d79a3b0f9b6c3236a4bec021c72615bfd1 (diff)
downloadlinux-af133e8606d32c2aed43870491ebbdc56feec8a8.tar.bz2
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_inode.h')
0 files changed, 0 insertions, 0 deletions