mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-30 10:44:09 +03:00
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 <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #11078
This commit is contained in:
@@ -120,6 +120,7 @@ $(MODULE)-objs += zfs_ratelimit.o
|
||||
$(MODULE)-objs += zfs_replay.o
|
||||
$(MODULE)-objs += zfs_rlock.o
|
||||
$(MODULE)-objs += zfs_sa.o
|
||||
$(MODULE)-objs += zfs_vnops.o
|
||||
$(MODULE)-objs += zil.o
|
||||
$(MODULE)-objs += zio.o
|
||||
$(MODULE)-objs += zio_checksum.o
|
||||
|
||||
Reference in New Issue
Block a user