aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_ag_resv.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-11-06 17:19:33 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-07 13:00:53 -0800
commit5f213ddbcbe86577f517437ef0ecb4ef3bcc3434 (patch)
tree677127768584fab58cde6ea4a6268cab2fb2c3c7 /fs/xfs/libxfs/xfs_ag_resv.c
parentxfs: periodically yield scrub threads to the scheduler (diff)
downloadlinux-dev-5f213ddbcbe86577f517437ef0ecb4ef3bcc3434.tar.xz
linux-dev-5f213ddbcbe86577f517437ef0ecb4ef3bcc3434.zip
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ag_resv.c')
-rw-r--r--fs/xfs/libxfs/xfs_ag_resv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_ag_resv.c b/fs/xfs/libxfs/xfs_ag_resv.c
index 87a9747f1d36..fdfe6dc0d307 100644
--- a/fs/xfs/libxfs/xfs_ag_resv.c
+++ b/fs/xfs/libxfs/xfs_ag_resv.c
@@ -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