Re: [PATCH 01/22] xfs: move xfs_perag_get/put to xfs_ag.[ch]

Dave Chinner
2021-05-11T07:18:33Z

On Mon, May 10, 2021 at 08:52:56AM -0400, Brian Foster wrote:
> On Thu, May 06, 2021 at 05:20:33PM +1000, Dave Chinner wrote:
> > From: Dave Chinner <dchinner@redhat.com>
> >
> > They are AG functions, not superblock functions, so move them to the
> > appropriate location.
> >
> > Signed-off-by: Dave Chinner <dchinner@redhat.com>
> > ---
> ...
> >
> > diff --git a/fs/xfs/libxfs/xfs_ag.c b/fs/xfs/libxfs/xfs_ag.c
> > index c68a36688474..2ca31dc46fe8 100644
> > --- a/fs/xfs/libxfs/xfs_ag.c
> > +++ b/fs/xfs/libxfs/xfs_ag.c
> > @@ -27,6 +27,141 @@
> > #include "xfs_defer.h"
> > #include "xfs_log_format.h"
> > #include "xfs_trans.h"
> > +#include "xfs_trace.h"
>
> The corresponding xfs_trace.h include can now be removed from
> libxfs/xfs_sb.c. Otherwise looks like a straightforward move:

fixed.
--
Dave Chinner
david@fromorbit.com