diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-10-23 01:36:05 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-10-23 21:11:30 +0200 |
commit | 70a9883c5f34b215b8a77665cefd0398edc5a9ef (patch) | |
tree | 482f6d16e0d4ca17a974320e07f0e1fa20bca334 /fs/xfs/xfs_da_btree.c | |
parent | xfs: fold xfs_change_file_space into xfs_ioc_space (diff) | |
download | linux-70a9883c5f34b215b8a77665cefd0398edc5a9ef.tar.xz linux-70a9883c5f34b215b8a77665cefd0398edc5a9ef.zip |
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 bffer 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: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_da_btree.c')
-rw-r--r-- | fs/xfs/xfs_da_btree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_da_btree.c b/fs/xfs/xfs_da_btree.c index 20bf8e8002d6..ac51abeb4782 100644 --- a/fs/xfs/xfs_da_btree.c +++ b/fs/xfs/xfs_da_btree.c @@ -18,7 +18,8 @@ */ #include "xfs.h" #include "xfs_fs.h" -#include "xfs_types.h" +#include "xfs_format.h" +#include "xfs_shared.h" #include "xfs_bit.h" #include "xfs_log.h" #include "xfs_trans.h" |