Revert zfeature_active() to static

Signed-off-by: George Amanakis <gamanakis@gmail.com>
This commit is contained in:
George Amanakis 2023-02-28 08:36:25 +01:00 committed by Brian Behlendorf
parent aa256549d1
commit 7043742828
2 changed files with 1 additions and 2 deletions

View File

@ -363,7 +363,6 @@ int dsl_dataset_rename_snapshot(const char *fsname,
const char *oldsnapname, const char *newsnapname, boolean_t recursive); const char *oldsnapname, const char *newsnapname, boolean_t recursive);
int dsl_dataset_snapshot_tmp(const char *fsname, const char *snapname, int dsl_dataset_snapshot_tmp(const char *fsname, const char *snapname,
minor_t cleanup_minor, const char *htag); 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); blkptr_t *dsl_dataset_get_blkptr(dsl_dataset_t *ds);

View File

@ -1026,7 +1026,7 @@ dsl_dataset_has_owner(dsl_dataset_t *ds)
return (rv); return (rv);
} }
boolean_t static boolean_t
zfeature_active(spa_feature_t f, void *arg) zfeature_active(spa_feature_t f, void *arg)
{ {
switch (spa_feature_table[f].fi_type) { switch (spa_feature_table[f].fi_type) {