aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-05-20 10:25:41 -0700
committerBrian Behlendorf <[email protected]>2011-05-20 10:25:41 -0700
commit4804b739e1e851f21f8e98c99275af2570c44a15 (patch)
tree92720766b2604b4625297b524242e753268424ce /cmd
parentf01b360e67696fff002f5e2b9cf6eedf5ff84f4a (diff)
Default to internal 'zfs userspace' implementation
We will never bring over the pyzfs.py helper script from Solaris to Linux. Instead the missing functionality will be directly integrated in to the zfs commands and libraries. To avoid confusion remove the warning about the missing pyzfs.py utility and simply use the default internal support. The Illumous developers are of the same mind and have proposed an initial patch to do this which has been integrated in to the 'allow' development branch. After some additional testing this code can be merged in to master as the right long term solution.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/zfs/zfs_main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/cmd/zfs/zfs_main.c b/cmd/zfs/zfs_main.c
index 32f85b1e0..0953336ab 100644
--- a/cmd/zfs/zfs_main.c
+++ b/cmd/zfs/zfs_main.c
@@ -1879,16 +1879,6 @@ zfs_do_userspace(int argc, char **argv)
zfs_userquota_prop_t p;
int error;
- /*
- * Try the python version. If the execv fails, we'll continue
- * and do a simplistic implementation.
- */
- (void) execv(pypath, argv-1);
-
- (void) printf("internal error: %s not found\n"
- "falling back on built-in implementation, "
- "some features will not work\n", pypath);
-
if ((zhp = zfs_open(g_zfs, argv[argc-1], ZFS_TYPE_DATASET)) == NULL)
return (1);