__import_iovec() already takes an explicit compat flag for callers that cannot rely on in_compat_syscall() (io_uring SQPOLL / io-wq). Export it so loadable btrfs can use it for uring encoded IO. Signed-off-by: Yang Xiuwei --- lib/iov_iter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/iov_iter.c b/lib/iov_iter.c index c2484551a4e8..9c2158d5ccdd 100644 --- a/lib/iov_iter.c +++ b/lib/iov_iter.c @@ -1410,6 +1410,7 @@ ssize_t __import_iovec(int type, const struct iovec __user *uvec, *iovp = iov; return total_len; } +EXPORT_SYMBOL_GPL(__import_iovec); /** * import_iovec() - Copy an array of &struct iovec from userspace -- 2.25.1