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

John Garry posted 7 patches 1 year, 5 months ago
There is a newer version of this series
[PATCH v5 2/7] fs: Export generic_atomic_write_valid()
Posted by John Garry 1 year, 5 months ago
The XFS code will need this.

Signed-off-by: John Garry <john.g.garry@oracle.com>
---
 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);
-- 
2.31.1
Re: [PATCH v5 2/7] fs: Export generic_atomic_write_valid()
Posted by Darrick J. Wong 1 year, 5 months ago
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@oracle.com>
> ---
>  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@kernel.org>

--D

> -- 
> 2.31.1
>