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

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

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
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 2c3263530828..32b476bf9be0 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -1845,3 +1845,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 v6 2/7] fs: Export generic_atomic_write_valid()
Posted by Christoph Hellwig 1 month, 4 weeks ago
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>