diff options
author | Matthew Macy <[email protected]> | 2020-10-21 14:08:06 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-21 14:08:06 -0700 |
commit | e53d678d4ad596a310d51dab107bb6fa97e2b226 (patch) | |
tree | bf1d9167e7f4c3f0fadbc190d23eb6a1f1dc67a4 /lib/libspl | |
parent | 666aa69f32ff2558ef9e9a27bc4cb5559e21d795 (diff) |
Share zfs_fsync, zfs_read, zfs_write, et al between Linux and FreeBSD
The zfs_fsync, zfs_read, and zfs_write function are almost identical
between Linux and FreeBSD. With a little refactoring they can be
moved to the common code which is what is done by this commit.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #11078
Diffstat (limited to 'lib/libspl')
-rw-r--r-- | lib/libspl/include/sys/uio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libspl/include/sys/uio.h b/lib/libspl/include/sys/uio.h index 3a834b996..482ffef6f 100644 --- a/lib/libspl/include/sys/uio.h +++ b/lib/libspl/include/sys/uio.h @@ -73,7 +73,6 @@ typedef struct uio { uio_seg_t uio_segflg; /* address space (kernel or user) */ uint16_t uio_fmode; /* file mode flags */ uint16_t uio_extflg; /* extended flags */ - offset_t uio_limit; /* u-limit (maximum byte offset) */ ssize_t uio_resid; /* residual count */ } uio_t; |