2024-04-11 15:48:58

by Jens Axboe

[permalink] [raw]
Subject: [PATCH 006/437] fs: add uio.h to fs.h

Most conversions will end up pulling in fs.h already, but not uio.h.
As the fs iterators will need that, just include it from fs.h rather
than need to add it everywhere. It's pretty natural to need user copy
helpers for read/write operators anyway.

Signed-off-by: Jens Axboe <[email protected]>
---
include/linux/fs.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/fs.h b/include/linux/fs.h
index f75049fa1d50..5806cea7a3ac 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -45,6 +45,7 @@
#include <linux/slab.h>
#include <linux/maple_tree.h>
#include <linux/rw_hint.h>
+#include <linux/uio.h>

#include <asm/byteorder.h>
#include <uapi/linux/fs.h>
--
2.43.0