alistair23-linux/fs/xfs
Dave Chinner 82025d7f79 xfs: verify dir2 block format buffers
Add a dir2 block format read verifier. To fully verify every block
when read, call xfs_dir2_data_check() on them. Change
xfs_dir2_data_check() to do runtime checking, convert ASSERT()
checks to XFS_WANT_CORRUPTED_RETURN(), which will trigger an ASSERT
failure on debug kernels, but on production kernels will dump an
error to dmesg and return EFSCORRUPTED to the caller.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Phil White <pwhite@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
2012-11-15 21:34:41 -06:00
..
Kconfig
kmem.c
kmem.h
Makefile xfs: remove xfs_flushinval_pages 2012-11-14 15:15:08 -06:00
mrlock.h
time.h
uuid.c
uuid.h
xfs.h
xfs_acl.c userns: Pass a userns parameter into posix_acl_to_xattr and posix_acl_from_xattr 2012-09-18 01:01:35 -07:00
xfs_acl.h
xfs_ag.h xfs: add EOFBLOCKS inode tagging/untagging 2012-11-08 14:20:44 -06:00
xfs_alloc.c xfs: verify AGFL blocks as they are read from disk 2012-11-15 21:34:14 -06:00
xfs_alloc.h xfs: move allocation stack switch up to xfs_bmapi_allocate 2012-10-18 17:42:48 -05:00
xfs_alloc_btree.c xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_alloc_btree.h
xfs_aops.c xfs: remove xfs_flush_pages 2012-11-14 15:12:45 -06:00
xfs_aops.h Prefix IO_XX flags with XFS_IO_XX to avoid namespace colision. 2012-07-22 11:00:55 -05:00
xfs_attr.c xfs: add verifier callback to directory read code 2012-11-15 21:34:36 -06:00
xfs_attr.h
xfs_attr_leaf.c xfs: add verifier callback to directory read code 2012-11-15 21:34:36 -06:00
xfs_attr_leaf.h xfs: remove struct xfs_dabuf and infrastructure 2012-07-01 14:50:07 -05:00
xfs_attr_sf.h
xfs_bit.c
xfs_bit.h
xfs_bmap.c xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_bmap.h xfs: move allocation stack switch up to xfs_bmapi_allocate 2012-10-18 17:42:48 -05:00
xfs_bmap_btree.c xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_bmap_btree.h xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_btree.c xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_btree.h xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_buf.c xfs: uncached buffer reads need to return an error 2012-11-15 21:34:05 -06:00
xfs_buf.h xfs: make buffer read verication an IO completion function 2012-11-15 21:34:02 -06:00
xfs_buf_item.c xfs: fix buffer shudown reference count mismatch 2012-11-07 15:26:53 -06:00
xfs_buf_item.h xfs: support discontiguous buffers in the xfs_buf_log_item 2012-07-01 14:50:06 -05:00
xfs_da_btree.c xfs: add verifier callback to directory read code 2012-11-15 21:34:36 -06:00
xfs_da_btree.h xfs: add verifier callback to directory read code 2012-11-15 21:34:36 -06:00
xfs_dfrag.c xfs: remove xfs_flushinval_pages 2012-11-14 15:15:08 -06:00
xfs_dfrag.h
xfs_dinode.h
xfs_dir2.c xfs: remove struct xfs_dabuf and infrastructure 2012-07-01 14:50:07 -05:00
xfs_dir2.h
xfs_dir2_block.c xfs: verify dir2 block format buffers 2012-11-15 21:34:41 -06:00
xfs_dir2_data.c xfs: verify dir2 block format buffers 2012-11-15 21:34:41 -06:00
xfs_dir2_format.h
xfs_dir2_leaf.c xfs: add verifier callback to directory read code 2012-11-15 21:34:36 -06:00
xfs_dir2_node.c xfs: add verifier callback to directory read code 2012-11-15 21:34:36 -06:00
xfs_dir2_priv.h xfs: verify dir2 block format buffers 2012-11-15 21:34:41 -06:00
xfs_dir2_sf.c xfs: remove struct xfs_dabuf and infrastructure 2012-07-01 14:50:07 -05:00
xfs_discard.c xfs: check for possible overflow in xfs_ioc_trim 2012-08-23 14:48:44 -05:00
xfs_discard.h
xfs_dquot.c xfs: verify dquot blocks as they are read from disk 2012-11-15 21:34:33 -06:00
xfs_dquot.h xfs: verify dquot blocks as they are read from disk 2012-11-15 21:34:33 -06:00
xfs_dquot_item.c
xfs_dquot_item.h
xfs_error.c
xfs_error.h
xfs_export.c xfs: remove xfs_iget.c 2012-10-17 13:42:25 -05:00
xfs_export.h
xfs_extent_busy.c
xfs_extent_busy.h
xfs_extfree_item.c
xfs_extfree_item.h
xfs_file.c xfs: add verifier callback to directory read code 2012-11-15 21:34:36 -06:00
xfs_filestream.c
xfs_filestream.h
xfs_fs.h xfs: add minimum file size filtering to eofblocks scan 2012-11-08 15:32:29 -06:00
xfs_fsops.c xfs: verify superblocks as they are read from disk 2012-11-15 21:34:07 -06:00
xfs_fsops.h
xfs_globals.c xfs: add background scanning to clear eofblocks inodes 2012-11-08 15:34:59 -06:00
xfs_ialloc.c xfs: verify AGI blocks as they are read from disk 2012-11-15 21:34:12 -06:00
xfs_ialloc.h xfs: remove the alloc_done argument to xfs_dialloc 2012-07-29 16:00:31 -05:00
xfs_ialloc_btree.c xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_ialloc_btree.h
xfs_icache.c xfs: add background scanning to clear eofblocks inodes 2012-11-08 15:34:59 -06:00
xfs_icache.h xfs: add background scanning to clear eofblocks inodes 2012-11-08 15:34:59 -06:00
xfs_inode.c xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_inode.h xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_inode_item.c
xfs_inode_item.h
xfs_inum.h
xfs_ioctl.c xfs: add inode id filtering to eofblocks scan 2012-11-08 15:29:14 -06:00
xfs_ioctl.h
xfs_ioctl32.c xfs: Convert to new freezing code 2012-07-31 09:45:48 +04:00
xfs_ioctl32.h
xfs_iomap.c xfs: add EOFBLOCKS inode tagging/untagging 2012-11-08 14:20:44 -06:00
xfs_iomap.h
xfs_iops.c xfs: remove xfs_flush_pages 2012-11-14 15:12:45 -06:00
xfs_iops.h
xfs_itable.c xfs: verify btree blocks as they are read from disk 2012-11-15 21:34:31 -06:00
xfs_itable.h
xfs_linux.h xfs: add background scanning to clear eofblocks inodes 2012-11-08 15:34:59 -06:00
xfs_log.c xfs: make buffer read verication an IO completion function 2012-11-15 21:34:02 -06:00
xfs_log.h xfs: xfs_quiesce_attr() should quiesce the log like unmount 2012-10-17 13:39:14 -05:00
xfs_log_cil.c
xfs_log_priv.h xfs: sync work is now only periodic log work 2012-10-17 11:53:29 -05:00
xfs_log_recover.c xfs: verify superblocks as they are read from disk 2012-11-15 21:34:07 -06:00
xfs_log_recover.h
xfs_message.c
xfs_message.h
xfs_mount.c xfs: verify superblocks as they are read from disk 2012-11-15 21:34:07 -06:00
xfs_mount.h xfs: verify superblocks as they are read from disk 2012-11-15 21:34:07 -06:00
xfs_mru_cache.c
xfs_mru_cache.h
xfs_qm.c xfs: verify dquot blocks as they are read from disk 2012-11-15 21:34:33 -06:00
xfs_qm.h
xfs_qm_bhv.c
xfs_qm_syscalls.c xfs: support a tag-based inode_ag_iterator 2012-11-08 15:20:38 -06:00
xfs_quota.h
xfs_quota_priv.h
xfs_quotaops.c userns: Convert qutoactl 2012-09-18 01:01:39 -07:00
xfs_rename.c
xfs_rtalloc.c xfs: uncached buffer reads need to return an error 2012-11-15 21:34:05 -06:00
xfs_rtalloc.h
xfs_sb.h
xfs_stats.c
xfs_stats.h
xfs_super.c xfs: add background scanning to clear eofblocks inodes 2012-11-08 15:34:59 -06:00
xfs_super.h xfs: xfs_sync_data is redundant. 2012-10-17 12:01:25 -05:00
xfs_sysctl.c xfs: add background scanning to clear eofblocks inodes 2012-11-08 15:34:59 -06:00
xfs_sysctl.h xfs: add background scanning to clear eofblocks inodes 2012-11-08 15:34:59 -06:00
xfs_trace.c
xfs_trace.h xfs: add more attribute tree trace points. 2012-11-13 14:47:00 -06:00
xfs_trans.c xfs: Convert to new freezing code 2012-07-31 09:45:48 +04:00
xfs_trans.h xfs: make buffer read verication an IO completion function 2012-11-15 21:34:02 -06:00
xfs_trans_ail.c xfs: re-enable xfsaild idle mode and fix associated races 2012-07-29 16:27:57 -05:00
xfs_trans_buf.c xfs: make buffer read verication an IO completion function 2012-11-15 21:34:02 -06:00
xfs_trans_dquot.c userns: Convert quota netlink aka quota_send_warning 2012-09-18 01:01:40 -07:00
xfs_trans_extfree.c
xfs_trans_inode.c
xfs_trans_priv.h xfs: re-enable xfsaild idle mode and fix associated races 2012-07-29 16:27:57 -05:00
xfs_trans_space.h
xfs_types.h
xfs_utils.c xfs: remove the alloc_done argument to xfs_dialloc 2012-07-29 16:00:31 -05:00
xfs_utils.h
xfs_vnode.h
xfs_vnodeops.c xfs: make buffer read verication an IO completion function 2012-11-15 21:34:02 -06:00
xfs_vnodeops.h xfs: remove xfs_flushinval_pages 2012-11-14 15:15:08 -06:00
xfs_xattr.c