xfs: fix missing header includes
Some of the xfs source files are missing header includes, so add them back. Sparse complains about non-static functions that don't have a forward declaration anywhere. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
5d1116d4c6
commit
5f213ddbcb
|
@ -19,6 +19,8 @@
|
|||
#include "xfs_btree.h"
|
||||
#include "xfs_refcount_btree.h"
|
||||
#include "xfs_ialloc_btree.h"
|
||||
#include "xfs_sb.h"
|
||||
#include "xfs_ag_resv.h"
|
||||
|
||||
/*
|
||||
* Per-AG Block Reservations
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "xfs_trans.h"
|
||||
#include "xfs_bmap.h"
|
||||
#include "xfs_attr.h"
|
||||
#include "xfs_attr_remote.h"
|
||||
#include "xfs_trace.h"
|
||||
#include "xfs_error.h"
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
*/
|
||||
#include "xfs.h"
|
||||
#include "xfs_log_format.h"
|
||||
#include "xfs_bit.h"
|
||||
|
||||
/*
|
||||
* XFS bit manipulation routines, used in non-realtime code.
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "xfs_log_format.h"
|
||||
#include "xfs_trans_resv.h"
|
||||
#include "xfs_bit.h"
|
||||
#include "xfs_sb.h"
|
||||
#include "xfs_mount.h"
|
||||
#include "xfs_ialloc.h"
|
||||
#include "xfs_alloc.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "xfs_sb.h"
|
||||
#include "xfs_health.h"
|
||||
#include "scrub/scrub.h"
|
||||
#include "scrub/health.h"
|
||||
|
||||
/*
|
||||
* Scrub and In-Core Filesystem Health Assessments
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "xfs_qm.h"
|
||||
#include "xfs_errortag.h"
|
||||
#include "xfs_error.h"
|
||||
#include "xfs_scrub.h"
|
||||
#include "scrub/scrub.h"
|
||||
#include "scrub/common.h"
|
||||
#include "scrub/trace.h"
|
||||
|
|
|
@ -13,8 +13,9 @@
|
|||
#include "xfs_attr.h"
|
||||
#include "xfs_trace.h"
|
||||
#include "xfs_error.h"
|
||||
#include <linux/posix_acl_xattr.h>
|
||||
#include "xfs_acl.h"
|
||||
|
||||
#include <linux/posix_acl_xattr.h>
|
||||
|
||||
/*
|
||||
* Locking scheme:
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "xfs_btree.h"
|
||||
#include "xfs_alloc_btree.h"
|
||||
#include "xfs_alloc.h"
|
||||
#include "xfs_discard.h"
|
||||
#include "xfs_error.h"
|
||||
#include "xfs_extent_busy.h"
|
||||
#include "xfs_trace.h"
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include "xfs_ag.h"
|
||||
#include "xfs_health.h"
|
||||
#include "xfs_reflink.h"
|
||||
#include "xfs_ioctl.h"
|
||||
|
||||
#include <linux/mount.h>
|
||||
#include <linux/namei.h>
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "xfs_bmap.h"
|
||||
#include "xfs_bmap_btree.h"
|
||||
#include "xfs_quota.h"
|
||||
#include "xfs_symlink.h"
|
||||
#include "xfs_trans_space.h"
|
||||
#include "xfs_trace.h"
|
||||
#include "xfs_trans.h"
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "xfs_da_format.h"
|
||||
#include "xfs_inode.h"
|
||||
#include "xfs_attr.h"
|
||||
#include "xfs_acl.h"
|
||||
|
||||
#include <linux/posix_acl_xattr.h>
|
||||
#include <linux/xattr.h>
|
||||
|
|
Loading…
Reference in New Issue