mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 13:41:27 +00:00
scst/include/backport.h: Port to Linux kernel v6.10
Support for the following fs layer changes in the Linux kernel v6.10:
- 7c98f7cb8fda ("remove call_{read,write}_iter() functions")
This commit is contained in:
@@ -553,10 +553,12 @@ typedef unsigned int __poll_t;
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 16, 0) && \
|
||||
LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
|
||||
(LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0) || \
|
||||
LINUX_VERSION_CODE >= KERNEL_VERSION(6, 10, 0))
|
||||
/*
|
||||
* See also commit bb7462b6fd64 ("vfs: use helpers for calling
|
||||
* f_op->{read,write}_iter()").
|
||||
* f_op->{read,write}_iter()") # v4.11.
|
||||
* See also commit 7c98f7cb8fda ("remove call_{read,write}_iter() functions") # v6.10.
|
||||
*/
|
||||
static inline ssize_t call_read_iter(struct file *file, struct kiocb *kio,
|
||||
struct iov_iter *iter)
|
||||
|
||||
Reference in New Issue
Block a user