Re: [PATCH v5 2/7] fs: Export generic_atomic_write_valid()

From: Darrick J. Wong
Date: Tue Aug 20 2024 - 13:29:50 EST


On Sat, Aug 17, 2024 at 09:47:55AM +0000, John Garry wrote:
> The XFS code will need this.
>
> Signed-off-by: John Garry <john.g.garry@xxxxxxxxxx>
> ---
> fs/read_write.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/read_write.c b/fs/read_write.c
> index d8af6f2f1c9a..babc3673c22c 100644
> --- a/fs/read_write.c
> +++ b/fs/read_write.c
> @@ -1752,3 +1752,4 @@ bool generic_atomic_write_valid(struct kiocb *iocb, struct iov_iter *iter)
>
> return true;
> }
> +EXPORT_SYMBOL_GPL(generic_atomic_write_valid);

Looks great,
Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>

--D

> --
> 2.31.1
>