Skip to content
Permalink
Browse files

Hide a couple of module param routines under __linux__

Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
  • Loading branch information
mattmacy committed Dec 2, 2019
1 parent 5142032 commit 271612793038e6fde4610ee62071c8b6dd67d2c7
Showing with 2 additions and 2 deletions.
  1. +1 −1 module/zcommon/zfs_fletcher.c
  2. +1 −1 module/zfs/vdev_raidz_math.c
@@ -886,7 +886,7 @@ zio_abd_checksum_func_t fletcher_4_abd_ops = {
};


#if defined(_KERNEL)
#if defined(_KERNEL) && defined(__linux__)

static int
fletcher_4_param_get(char *buffer, zfs_kernel_param_t *unused)
@@ -627,7 +627,7 @@ vdev_raidz_impl_set(const char *val)
return (err);
}

#if defined(_KERNEL)
#if defined(_KERNEL) && defined(__linux__)

static int
zfs_vdev_raidz_impl_set(const char *val, zfs_kernel_param_t *kp)

0 comments on commit 2716127

Please sign in to comment.
You can’t perform that action at this time.