summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <[email protected]>2020-06-08 09:57:36 -0700
committerGitHub <[email protected]>2020-06-08 09:57:36 -0700
commit77b998fa7018801426a6e216a462c83699fa9f44 (patch)
tree80411fa1c80f191145861851a560e11764b13f47 /module
parentb2f3709c3ec0116773c9269431dc8f9f97563028 (diff)
Remove redundant includes
By removing excessive includes it takes us a small step close to compiling this file in userland. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Pawel Jakub Dawidek <[email protected]> Closes #10415
Diffstat (limited to 'module')
-rw-r--r--module/os/freebsd/zfs/zfs_ioctl_os.c52
1 files changed, 3 insertions, 49 deletions
diff --git a/module/os/freebsd/zfs/zfs_ioctl_os.c b/module/os/freebsd/zfs/zfs_ioctl_os.c
index 4b7e86467..1f7cd791e 100644
--- a/module/os/freebsd/zfs/zfs_ioctl_os.c
+++ b/module/os/freebsd/zfs/zfs_ioctl_os.c
@@ -29,59 +29,13 @@
__FBSDID("$FreeBSD$");
#include <sys/types.h>
-#include <sys/param.h>
#include <sys/errno.h>
-#include <sys/uio.h>
-#include <sys/file.h>
-#include <sys/kmem.h>
-#include <sys/cmn_err.h>
-#include <sys/stat.h>
-#include <sys/zfs_ioctl.h>
-#include <sys/zfs_vfsops.h>
-#include <sys/zfs_znode.h>
-#include <sys/zap.h>
-#include <sys/spa.h>
+#include <sys/nvpair.h>
#include <sys/spa_impl.h>
-#include <sys/vdev.h>
#include <sys/vdev_os.h>
-#include <sys/vdev_impl.h>
-#include <sys/dmu.h>
-#include <sys/dsl_dir.h>
-#include <sys/dsl_dataset.h>
-#include <sys/dsl_prop.h>
-#include <sys/dsl_deleg.h>
-#include <sys/dmu_objset.h>
-#include <sys/dmu_impl.h>
-#include <sys/dmu_redact.h>
-#include <sys/dmu_tx.h>
-#include <sys/sunddi.h>
-#include <sys/policy.h>
+#include <sys/zfs_vfsops.h>
#include <sys/zone.h>
-#include <sys/nvpair.h>
-#include <sys/pathname.h>
-#include <sys/sdt.h>
-#include <sys/fs/zfs.h>
-#include <sys/zfs_ctldir.h>
-#include <sys/zfs_dir.h>
-#include <sys/zfs_onexit.h>
-#include <sys/zvol.h>
-#include <sys/dsl_scan.h>
-#include <sys/fm/util.h>
-#include <sys/dsl_crypt.h>
-
-#include <sys/dmu_recv.h>
-#include <sys/dmu_send.h>
-#include <sys/dmu_recv.h>
-#include <sys/dsl_destroy.h>
-#include <sys/dsl_bookmark.h>
-#include <sys/dsl_userhold.h>
-#include <sys/zfeature.h>
-#include <sys/zcp.h>
-#include <sys/zio_checksum.h>
-#include <sys/vdev_removal.h>
-#include <sys/vdev_trim.h>
-#include <sys/vdev_impl.h>
-#include <sys/vdev_initialize.h>
+
#include <sys/zfs_ioctl_impl.h>
int