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

From: John Garry
Date: Mon Sep 30 2024 - 08:55:52 EST


The XFS code will need this.

Reviewed-by: "Darrick J. Wong" <djwong@xxxxxxxxxx>
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 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