From 704374282848375175398a9ddad69c0c4222e317 Mon Sep 17 00:00:00 2001 From: George Amanakis Date: Tue, 28 Feb 2023 08:36:25 +0100 Subject: [PATCH] Revert zfeature_active() to static Signed-off-by: George Amanakis --- include/sys/dsl_dataset.h | 1 - module/zfs/dsl_dataset.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/sys/dsl_dataset.h b/include/sys/dsl_dataset.h index 62863429ea..ed934f969e 100644 --- a/include/sys/dsl_dataset.h +++ b/include/sys/dsl_dataset.h @@ -363,7 +363,6 @@ int dsl_dataset_rename_snapshot(const char *fsname, const char *oldsnapname, const char *newsnapname, boolean_t recursive); int dsl_dataset_snapshot_tmp(const char *fsname, const char *snapname, minor_t cleanup_minor, const char *htag); -boolean_t zfeature_active(spa_feature_t f, void *arg); blkptr_t *dsl_dataset_get_blkptr(dsl_dataset_t *ds); diff --git a/module/zfs/dsl_dataset.c b/module/zfs/dsl_dataset.c index 3bc6973039..4e5a0606fa 100644 --- a/module/zfs/dsl_dataset.c +++ b/module/zfs/dsl_dataset.c @@ -1026,7 +1026,7 @@ dsl_dataset_has_owner(dsl_dataset_t *ds) return (rv); } -boolean_t +static boolean_t zfeature_active(spa_feature_t f, void *arg) { switch (spa_feature_table[f].fi_type) {