]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: error negation rework
authorDave Chinner <dchinner@redhat.com>
Fri, 5 Jun 2015 00:13:28 +0000 (10:13 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 5 Jun 2015 00:13:28 +0000 (10:13 +1000)
commitb6daf451ba359a460c7a8db53e85824a440dd48e
tree442750014d90596b321e9c65941b9d8f374d209a
parent8066e7e88a0b6f0477f545b65b3a7ad905cda668
libxfs: error negation rework

The libxfs core in the kernel now returns negative error numbers one
failure rather than positive numbers. This commit switches the
libxfs core to use negative error numbers and converts all
the libxfs function callers to negate the returned error so that
none of the other codeneeds tobe changed at this time.

This allows us to drive negative errors through the xfsprogs code
base at our leisure rather than having to do it all right now.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
33 files changed:
db/io.c
libxfs/rdwr.c
libxfs/trans.c
libxfs/util.c
libxfs/xfs_alloc.c
libxfs/xfs_alloc_btree.c
libxfs/xfs_attr.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_attr_remote.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_data.c
libxfs/xfs_dir2_leaf.c
libxfs/xfs_dir2_node.c
libxfs/xfs_dir2_sf.c
libxfs/xfs_dquot_buf.c
libxfs/xfs_ialloc.c
libxfs/xfs_ialloc_btree.c
libxfs/xfs_inode_buf.c
libxfs/xfs_inode_fork.c
libxfs/xfs_sb.c
libxfs/xfs_symlink_remote.c
mkfs/proto.c
mkfs/xfs_mkfs.c
repair/attr_repair.c
repair/dinode.c
repair/dir2.c
repair/phase6.c
repair/phase7.c