]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: Nuke XFS_ERROR macro
authorDave Chinner <dchinner@redhat.com>
Fri, 5 Jun 2015 00:13:27 +0000 (10:13 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 5 Jun 2015 00:13:27 +0000 (10:13 +1000)
commit8066e7e88a0b6f0477f545b65b3a7ad905cda668
tree2e54d783fa431acb9c003d85468b57732495da30
parenteefa6065bee9d652c4cc79cfdae5641201a2fd1e
xfs: Nuke XFS_ERROR macro

XFS_ERROR was designed long ago to trap return values, but it's not
runtime configurable, it's not consistently used, and we can do
similar error trapping with ftrace scripts and triggers from
userspace.

Just nuke XFS_ERROR and associated bits.

Port of kernel commit b474c7ae4395ba684e85fde8f55c8cf44a39afaf
from Eric Sandeen.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
18 files changed:
libxfs/trans.c
libxfs/util.c
libxfs/xfs.h
libxfs/xfs_attr.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_bmap.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_btree.c
libxfs/xfs_da_btree.c
libxfs/xfs_dir2.c
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_dir2_sf.c
libxfs/xfs_ialloc.c
libxfs/xfs_inode_buf.c
libxfs/xfs_inode_fork.c
libxfs/xfs_sb.c