diff options
author | Brian Behlendorf <[email protected]> | 2010-12-16 15:11:40 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-02-04 16:14:34 -0800 |
commit | b4ead57cfb410247eee4d2a8a6e488cf4542ac77 (patch) | |
tree | feabda8e4bf4ea3a69341e3bf197a84d9ca555db /cmd/zinject/zinject.c | |
parent | 9a616b5d17185c7fa5cd0d39ff8bc101cad8466d (diff) |
Remove HAVE_ZPL from commands and libraries
Thanks to the previous few commits we can now build all of the
user space commands and libraries with support for the zpl.
Diffstat (limited to 'cmd/zinject/zinject.c')
-rw-r--r-- | cmd/zinject/zinject.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/zinject/zinject.c b/cmd/zinject/zinject.c index e76e626fa..d584eadd8 100644 --- a/cmd/zinject/zinject.c +++ b/cmd/zinject/zinject.c @@ -951,20 +951,16 @@ main(int argc, char **argv) if (dataset[0] != '\0' && domount) { if ((zhp = zfs_open(g_zfs, dataset, ZFS_TYPE_DATASET)) == NULL) return (1); -#ifdef HAVE_ZPL if (zfs_unmount(zhp, NULL, 0) != 0) return (1); -#endif /* HAVE_ZPL */ } record.zi_error = error; ret = register_handler(pool, flags, &record, quiet); -#ifdef HAVE_ZPL if (dataset[0] != '\0' && domount) ret = (zfs_mount(zhp, NULL, 0) != 0); -#endif /* HAVE_ZPL */ libzfs_fini(g_zfs); |