Print this page
cstyle fixes
dsl_dataset_set_fsid_guid should use ZFS_SPACE_CHECK_RESERVED
dsl_dataset_set_fsid_guid _check and _sync func declared static,
removed from dsl_dataset.h
rewrite unique_valid
6333 ZFS should let the user specify or modify the fsid_guid of a dataset

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libzfs/common/libzfs_changelist.c
          +++ new/usr/src/lib/libzfs/common/libzfs_changelist.c
↓ open down ↓ 594 lines elided ↑ open up ↑
 595  595          if (prop == ZFS_PROP_NAME) {
 596  596                  clp->cl_prop = ZFS_PROP_MOUNTPOINT;
 597  597                  clp->cl_alldependents = B_TRUE;
 598  598          } else if (prop == ZFS_PROP_ZONED) {
 599  599                  clp->cl_prop = ZFS_PROP_MOUNTPOINT;
 600  600                  clp->cl_allchildren = B_TRUE;
 601  601          } else if (prop == ZFS_PROP_CANMOUNT) {
 602  602                  clp->cl_prop = ZFS_PROP_MOUNTPOINT;
 603  603          } else if (prop == ZFS_PROP_VOLSIZE) {
 604  604                  clp->cl_prop = ZFS_PROP_MOUNTPOINT;
      605 +        } else if (prop == ZFS_PROP_FSID_GUID) {
      606 +                clp->cl_prop = ZFS_PROP_MOUNTPOINT;
 605  607          } else {
 606  608                  clp->cl_prop = prop;
 607  609          }
 608  610          clp->cl_realprop = prop;
 609  611  
 610  612          if (clp->cl_prop != ZFS_PROP_MOUNTPOINT &&
 611  613              clp->cl_prop != ZFS_PROP_SHARENFS &&
 612  614              clp->cl_prop != ZFS_PROP_SHARESMB)
 613  615                  return (clp);
 614  616  
↓ open down ↓ 79 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX