From d2a32912b9f768065eaac31b4713bbaf316b7637 Mon Sep 17 00:00:00 2001 From: Allan Jude Date: Tue, 13 Aug 2019 23:16:23 -0400 Subject: [PATCH] Mark dsl_livelist_should_disable() static This function is not used outside of dsl_dataset.c Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Reviewed by: Sara Hartse Signed-off-by: Allan Jude Closes #9154 --- module/zfs/dsl_dataset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/zfs/dsl_dataset.c b/module/zfs/dsl_dataset.c index 848a8508c..069a66ecb 100644 --- a/module/zfs/dsl_dataset.c +++ b/module/zfs/dsl_dataset.c @@ -2088,7 +2088,7 @@ dsl_dataset_sync(dsl_dataset_t *ds, zio_t *zio, dmu_tx_t *tx) * snapshot (as opposed to those that are clone only) is below a certain * threshold */ -boolean_t +static boolean_t dsl_livelist_should_disable(dsl_dataset_t *ds) { uint64_t used, referenced;