diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-06-02 02:48:24 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2021-06-02 02:48:24 +0200 |
commit | 9bbafc71919adfdf83fafd2ce909853b493e7d86 (patch) | |
tree | d523cb766595f74049c926e122325a1eb953ad78 /fs/xfs/xfs_discard.c | |
parent | Linux 5.13-rc2 (diff) | |
download | linux-9bbafc71919adfdf83fafd2ce909853b493e7d86.tar.xz linux-9bbafc71919adfdf83fafd2ce909853b493e7d86.zip |
xfs: move xfs_perag_get/put to xfs_ag.[ch]
They are AG functions, not superblock functions, so move them to the
appropriate location.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_discard.c')
-rw-r--r-- | fs/xfs/xfs_discard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_discard.c b/fs/xfs/xfs_discard.c index f979d0d7e6cd..3bf6dba1a040 100644 --- a/fs/xfs/xfs_discard.c +++ b/fs/xfs/xfs_discard.c @@ -8,7 +8,6 @@ #include "xfs_format.h" #include "xfs_log_format.h" #include "xfs_trans_resv.h" -#include "xfs_sb.h" #include "xfs_mount.h" #include "xfs_btree.h" #include "xfs_alloc_btree.h" @@ -18,6 +17,7 @@ #include "xfs_extent_busy.h" #include "xfs_trace.h" #include "xfs_log.h" +#include "xfs_ag.h" STATIC int xfs_trim_extents( |