xfs: fix duplicate includes
authorDave Chinner <dchinner@redhat.com>
Wed, 19 Apr 2023 22:18:34 +0000 (08:18 +1000)
committerDave Chinner <dchinner@redhat.com>
Wed, 19 Apr 2023 22:18:34 +0000 (08:18 +1000)
commit422d56536fd2ebac254e469e196c64cf53cd8a07
treef5c8278274833de87eaf856c869350f8409753a5
parent798352cb25d2c27affbb5c733ed28430057228ca
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: d5c88131dbf0 ("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>
fs/xfs/scrub/refcount.c