]> www.infradead.org Git - users/hch/xfsprogs.git/commitdiff
xfs: fix missing header includes
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 22 Jan 2020 16:29:40 +0000 (11:29 -0500)
committerEric Sandeen <sandeen@redhat.com>
Wed, 22 Jan 2020 16:29:40 +0000 (11:29 -0500)
Source kernel commit: 5f213ddbcbe86577f517437ef0ecb4ef3bcc3434

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_ag_resv.c
libxfs/xfs_attr_remote.c
libxfs/xfs_bit.c
libxfs/xfs_sb.c

index 1328e5de1a0e56ee057c493701c510de47e7a2ed..1fe13bf44f03b21236c2a035dac04dd255126002 100644 (file)
@@ -15,6 +15,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
index 7234f86c114646575219aa3a7a79d00eb5b85373..958f8f6166ca60f9798bf66b5d98302fff7ae83d 100644 (file)
@@ -18,6 +18,8 @@
 #include "xfs_inode.h"
 #include "xfs_trans.h"
 #include "xfs_bmap.h"
+#include "xfs_attr.h"
+#include "xfs_attr_remote.h"
 #include "xfs_trace.h"
 
 #define ATTR_RMTVALUE_MAPSIZE  1       /* # of map entries at once */
index 6a76a5ad0bf43ecf1ae5f4c936b8ba9792060199..3f97fa3e7256860473eff6c4779bfe65fc5a16b8 100644 (file)
@@ -5,6 +5,7 @@
  */
 #include "libxfs_priv.h"
 #include "xfs_log_format.h"
+#include "xfs_bit.h"
 
 /*
  * XFS bit manipulation routines, used in non-realtime code.
index 583d29aab3cbdb3c8e3e534e373569b2cdc0e255..4f750d19d9299c04f50c3c306661c9da060f86bd 100644 (file)
@@ -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"