]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: create a shared header file for format-related information
authorDave Chinner <david@fromorbit.com>
Mon, 30 Sep 2013 03:15:20 +0000 (03:15 +0000)
committerRich Johnston <rjohnston@sgi.com>
Thu, 17 Oct 2013 19:47:56 +0000 (14:47 -0500)
commitdd297fd6d366f62ca2f579e510e6287699d0bd5d
tree0f3794d8ff4f270841449a72f3184f87e0ea615e
parent41315687d9db9b50876401e7b0ee20dd77cfc712
xfs: create a shared header file for format-related information

All of the buffer operations structures are needed to be exported
for xfs_db, so move them all to a common location rather than
spreading them all over the place. They are verifying the on-disk
format, so while xfs_format.h might be a good place, it is not part
of the on disk format.

Hence we need to create a new header file that we centralise these
related definitions. Start by moving the buffer operations
structures, and then also move all the other definitions that have
crept into xfs_log_format.h and xfs_format.h as there was no other
shared header file to put them in.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
16 files changed:
include/Makefile
include/libxfs.h
include/xfs_ag.h
include/xfs_alloc.h
include/xfs_alloc_btree.h
include/xfs_attr_leaf.h
include/xfs_attr_remote.h
include/xfs_bmap_btree.h
include/xfs_da_btree.h
include/xfs_format.h
include/xfs_ialloc.h
include/xfs_ialloc_btree.h
include/xfs_inode_buf.h
include/xfs_log_format.h
include/xfs_sb.h
include/xfs_shared.h [new file with mode: 0644]