Skip to content

Commit 422d565

Browse files
committed
xfs: fix duplicate includes
Header files were already included, just not in the normal order. Remove the duplicates, preserving normal order. Also move xfs_ag.h include to before the scrub internal includes which are normally last in the include list. Fixes: d5c8813 ("xfs: allow queued AG intents to drain before scrubbing") Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Dave Chinner <david@fromorbit.com>
1 parent 798352c commit 422d565

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

fs/xfs/scrub/refcount.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@
99
#include "xfs_format.h"
1010
#include "xfs_trans_resv.h"
1111
#include "xfs_mount.h"
12+
#include "xfs_ag.h"
1213
#include "xfs_btree.h"
1314
#include "xfs_rmap.h"
1415
#include "xfs_refcount.h"
1516
#include "scrub/scrub.h"
1617
#include "scrub/common.h"
1718
#include "scrub/btree.h"
1819
#include "scrub/trace.h"
19-
#include "xfs_trans_resv.h"
20-
#include "xfs_mount.h"
21-
#include "xfs_ag.h"
2220

2321
/*
2422
* Set us up to scrub reference count btrees.

0 commit comments

Comments
 (0)