OP_SHARE
const char *cmdname = op == OP_SHARE ? "share" : "mount";
if (op == OP_SHARE && strcmp(shareopts, "off") == 0 &&
case OP_SHARE:
if (op == OP_SHARE && argc > 0) {
if (op == OP_SHARE) {
if ((op == OP_SHARE) || (options != NULL)) {
return (share_mount(OP_SHARE, argc, argv));
const char *cmdname = (op == OP_SHARE) ? "unshare" : "unmount";
if (op == OP_SHARE) {
if (op == OP_SHARE) {
while ((c = getopt(argc, argv, op == OP_SHARE ? "a" : "af")) != -1) {
case OP_SHARE:
if (op == OP_SHARE) {
case OP_SHARE:
verify(zfs_prop_get(zhp, op == OP_SHARE ?
case OP_SHARE:
return (unshare_unmount(OP_SHARE, argc, argv));