]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: disambiguate xfs.h
authorDave Chinner <dchinner@redhat.com>
Sun, 10 May 2015 23:30:14 +0000 (09:30 +1000)
committerDave Chinner <david@fromorbit.com>
Sun, 10 May 2015 23:30:14 +0000 (09:30 +1000)
commita016903ab3870eafcd8561681e1366d1163e0185
tree043a2330acd6c693ed5e756e82ce393357ebf349
parent3abc69fdc417e9d3dc0040000a9f05cb828d518d
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/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/cache.c
libxfs/init.c
libxfs/kmem.c
libxfs/libxfs_priv.h [moved from libxfs/xfs.h with 100% similarity]
libxfs/linux.c
libxfs/logitem.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_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