From 53edd221ff07e2be82650e707f2f6a5cfa2fd1b4 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 16 Mar 2009 11:14:19 -0700 Subject: [PATCH] Pull unused get_one_dataset() under HAVE_ZPL ifdef. --- cmd/zfs/zfs_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c index 464e16797f..87f83ab394 100644 --- a/cmd/zfs/zfs_main.c +++ b/cmd/zfs/zfs_main.c @@ -2899,6 +2899,7 @@ typedef struct get_all_cbdata { #define SPINNER_TIME 3 /* seconds */ #define MOUNT_TIME 5 /* seconds */ +#ifdef HAVE_ZPL static int get_one_dataset(zfs_handle_t *zhp, void *data) { @@ -2962,7 +2963,6 @@ get_one_dataset(zfs_handle_t *zhp, void *data) return (0); } -#ifdef HAVE_ZPL static void get_all_datasets(uint_t types, zfs_handle_t ***dslist, size_t *count, boolean_t verbose)