summaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
authorAllan Jude <[email protected]>2019-08-13 23:16:23 -0400
committerBrian Behlendorf <[email protected]>2019-08-13 21:16:23 -0600
commitd2a32912b9f768065eaac31b4713bbaf316b7637 (patch)
tree8c10000dcdfe5561c6d19222e4935276ae77fbf4 /module/zfs
parentc8242a96ba8495013cc2f2e12ea6202e61796462 (diff)
Mark dsl_livelist_should_disable() static
This function is not used outside of dsl_dataset.c Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed by: Sara Hartse <[email protected]> Signed-off-by: Allan Jude <[email protected]> Closes #9154
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/dsl_dataset.c2
1 files changed, 1 insertions, 1 deletions
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;