From 06005641bbbf337387624554637ad7b994860609 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 17 Dec 2008 15:33:45 -0800 Subject: [PATCH] Stub out mount/share related func --- lib/libzfs/libzfs_changelist.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/libzfs/libzfs_changelist.c b/lib/libzfs/libzfs_changelist.c index efd45e592d..e7d44a59fe 100644 --- a/lib/libzfs/libzfs_changelist.c +++ b/lib/libzfs/libzfs_changelist.c @@ -93,6 +93,7 @@ struct prop_changelist { int changelist_prefix(prop_changelist_t *clp) { +#ifdef HAVE_ZPL prop_changenode_t *cn; int ret = 0; @@ -168,6 +169,9 @@ changelist_prefix(prop_changelist_t *clp) (void) changelist_postfix(clp); return (ret); +#else + return 0; +#endif /* HAVE_ZPL */ } /* @@ -182,8 +186,6 @@ changelist_prefix(prop_changelist_t *clp) int changelist_postfix(prop_changelist_t *clp) { - /* zfs-lustre: not needed */ - return (0); #ifdef HAVE_ZPL prop_changenode_t *cn; char shareopts[ZFS_MAXPROPLEN]; @@ -299,7 +301,9 @@ changelist_postfix(prop_changelist_t *clp) } return (errors ? -1 : 0); -#endif /* HAVE_ZPL */ +#else + return 0; +#endif /* HAVE_ZPL */ } /*