2019-11-12 23:54:16

by Ira Weiny

[permalink] [raw]
Subject: Re: [PATCH 2/2] fs: Move swap_[de]activate to file_operations

On Mon, Nov 11, 2019 at 05:20:17PM -0800, Darrick J. Wong wrote:
> On Mon, Nov 11, 2019 at 04:34:52PM -0800, [email protected] wrote:
> > From: Ira Weiny <[email protected]>
> >
> > };
> > diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
> > index 865543e41fb4..3d2e89ac72ed 100644
> > --- a/fs/xfs/xfs_file.c
> > +++ b/fs/xfs/xfs_file.c
> > @@ -1294,6 +1294,17 @@ xfs_file_mmap(
> > return 0;
> > }
> >
> > +static int
> > +xfs_iomap_swapfile_activate(
>
> Might as well rename this xfs_file_swap_activate().

Done.

V1 with fixed btrfs, to be out shortly.

Ira