]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: Nuke XFS_ERROR macro
authorDave Chinner <dchinner@redhat.com>
Wed, 6 May 2015 05:32:24 +0000 (15:32 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 6 May 2015 05:32:24 +0000 (15:32 +1000)
commit93da279977e8822d55f87a97e89109bc40dcf6cd
tree4a79e5358c79cb1be851a2333593a5fe1b82c850
parentc5e13f090e436c96b46819f6ed4a1e1185341136
xfs: Nuke XFS_ERROR macro

From: Dave Chinner <dchinner@redhat.com>

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