diff options
author | Dave Chinner <dchinner@redhat.com> | 2012-11-12 22:54:07 +1100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-11-15 21:34:19 -0600 |
commit | af133e8606d32c2aed43870491ebbdc56feec8a8 (patch) | |
tree | e74ee12057c2703f83a5e455a50ee590d504be70 /fs/xfs/xfs_btree.h | |
parent | bb80c6d79a3b0f9b6c3236a4bec021c72615bfd1 (diff) |
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.h')
0 files changed, 0 insertions, 0 deletions