]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_dir2_block.c
xfs: Nuke XFS_ERROR macro
authorDave Chinner <dchinner@redhat.com>
Thu, 30 Jul 2015 22:33:08 +0000 (08:33 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 30 Jul 2015 22:33:08 +0000 (08:33 +1000)
commit1e68581bdda61be9ba251bf38ecc2a86cb4be4e3
tree5140f2a1e6206e4361997da7bb92efd4b6d4d3e9
parentaf43ca9f2156ae25d09b529b2777ee9e5d27a099
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