]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_dir2_block.c
libxfs: error negation rework
authorDave Chinner <dchinner@redhat.com>
Thu, 30 Jul 2015 22:33:21 +0000 (08:33 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 30 Jul 2015 22:33:21 +0000 (08:33 +1000)
commit12b5319796439c9442414f82049201d3c740e059
treebcce21e025b7027de31208733df8a9aaf06887d9
parent1e68581bdda61be9ba251bf38ecc2a86cb4be4e3
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