lkml.org 
[lkml]   [2024]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 006/437] fs: add uio.h to fs.h
Date
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 <axboe@kernel.dk>
---
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

\
 
 \ /
  Last update: 2024-05-27 16:35    [W:0.908 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site