]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: disambiguate xfs.h
authorDave Chinner <dchinner@redhat.com>
Thu, 18 Dec 2014 23:51:22 +0000 (10:51 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Dec 2014 23:51:22 +0000 (10:51 +1100)
commita44e9006f25b5c655e68b285319a781d0bf61b7a
tree342fb480808299c54d0262112d019d4654e0a38b
parent453ca2ef64df925b5d1b0f1fb3b55c48294effc5
libxfs: disambiguate xfs.h

There are two "xfs.h" header files in xfsprogs. include/xfs.h
contains the userspace API definitions for the platform and ioctl
interfaces. libxfs/support/xfs.h contains support infrastructure
to allow kernel code to compile in userspace. They have different
purposes, and so we need to disambiguate them so it is clear what
header files are being included in which files.

We can't change include/xfs.h as it is exported and installed into
/usr/include/xfs, and that means we have to rename the libxfs
internal header file. Rename this to "libxfs_priv.h" so it is clear
that it is private to libxfs, and update all the libxfs code to
include it.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
36 files changed:
libxfs/Makefile
libxfs/support/cache.c
libxfs/support/init.c
libxfs/support/kmem.c
libxfs/support/libxfs_priv.h [moved from libxfs/support/xfs.h with 100% similarity]
libxfs/support/linux.c
libxfs/support/logitem.c
libxfs/support/rdwr.c
libxfs/support/trans.c
libxfs/support/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_da_format.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_log_rlimit.c
libxfs/xfs_rtbitmap.c
libxfs/xfs_sb.c
libxfs/xfs_symlink_remote.c
libxfs/xfs_trans_resv.c