]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Mark dsl_livelist_should_disable() static
authorAllan Jude <allanjude@freebsd.org>
Wed, 14 Aug 2019 03:16:23 +0000 (23:16 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 14 Aug 2019 03:16:23 +0000 (21:16 -0600)
This function is not used outside of dsl_dataset.c

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed by: Sara Hartse <sara.hartse@delphix.com>
Signed-off-by: Allan Jude <allanjude@freebsd.org>
Closes #9154

module/zfs/dsl_dataset.c

index 848a8508c17fc6aa02eeecbd96893cf8eb93e5f2..069a66ecbc3bf7b2eeeecb11768d686979e50b78 100644 (file)
@@ -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;