Print this page
patch tsoome-feedback

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libbe/common/be_snapshot.c
          +++ new/usr/src/lib/libbe/common/be_snapshot.c
↓ open down ↓ 598 lines elided ↑ open up ↑
 599  599           * If we succeeded in creating an auto named snapshot, store
 600  600           * the name in the nvlist passed in by the caller.
 601  601           */
 602  602          if (autoname && bt.obe_snap_name) {
 603  603                  *snap_name = bt.obe_snap_name;
 604  604          }
 605  605  
 606  606  done:
 607  607          ZFS_CLOSE(zhp);
 608  608  
 609      -        if (ss_props != NULL)
 610      -                nvlist_free(ss_props);
      609 +        nvlist_free(ss_props);
 611  610  
 612  611          return (ret);
 613  612  }
 614  613  
 615  614  /*
 616  615   * Function:    _be_destroy_snapshot
 617  616   * Description: see be_destroy_snapshot
 618  617   * Parameters:
 619  618   *              be_name - The name of the BE that the snapshot belongs to.
 620  619   *              snap_name - The name of the snapshot we're destroying.
↓ open down ↓ 192 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX