[PATCH v7 2/8] fs: Export generic_atomic_write_valid()
From: John Garry
Date: Fri Oct 04 2024 - 05:25:31 EST
The XFS code will need this.
Reviewed-by: "Darrick J. Wong" <djwong@xxxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
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