libzpool: lift zfs_file ops out to separate source file

So its easier to remove and replace on non-Unix platforms.

Sponsored-by: TrueNAS
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Signed-off-by: Rob Norris <rob.norris@truenas.com>
Closes #18281
This commit is contained in:
Rob Norris
2026-03-06 13:07:46 +11:00
committed by GitHub
parent d979457760
commit e73ada771d
3 changed files with 421 additions and 388 deletions
+1
View File
@@ -16,6 +16,7 @@ dist_libzpool_la_SOURCES = \
%D%/kernel.c \
%D%/util.c \
%D%/vdev_label_os.c \
%D%/zfs_file_os.c \
%D%/zfs_racct.c \
%D%/zfs_debug.c