mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Removing old code outside of 4.18 kernsls
There were checks still in place to verify we could completely use iov_iter's on the Linux side. All interfaces are available as of kernel 4.18, so there is no reason to check whether we should use that interface at this point. This PR completely removes the UIO_USERSPACE type. It also removes the check for the direct_IO interface checks. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Brian Atkinson <batkinson@lanl.gov> Closes #16856
This commit is contained in:
committed by
Brian Behlendorf
parent
acda137d8c
commit
c6442bd3b6
@@ -57,8 +57,7 @@ typedef enum zfs_uio_rw {
|
||||
} zfs_uio_rw_t;
|
||||
|
||||
typedef enum zfs_uio_seg {
|
||||
UIO_USERSPACE = 0,
|
||||
UIO_SYSSPACE = 1,
|
||||
UIO_SYSSPACE = 0,
|
||||
} zfs_uio_seg_t;
|
||||
|
||||
#elif defined(__FreeBSD__)
|
||||
|
||||
Reference in New Issue
Block a user