Print this page
3742 zfs comments need cleaner, more consistent style
Submitted by:   Will Andrews <willa@spectralogic.com>
Submitted by:   Alan Somers <alans@spectralogic.com>
Reviewed by:    Matthew Ahrens <mahrens@delphix.com>
Reviewed by:    George Wilson <george.wilson@delphix.com>
Reviewed by:    Eric Schrock <eric.schrock@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/dsl_prop.c
          +++ new/usr/src/uts/common/fs/zfs/dsl_prop.c
↓ open down ↓ 371 lines elided ↑ open up ↑
 372  372          strfree(recvdstr);
 373  373  
 374  374          if (err == ENOENT)
 375  375                  return (0);
 376  376  
 377  377          return (err);
 378  378  }
 379  379  
 380  380  /*
 381  381   * Unregister this callback.  Return 0 on success, ENOENT if ddname is
 382      - * invalid, ENOMSG if no matching callback registered.
      382 + * invalid, or ENOMSG if no matching callback registered.
 383  383   */
 384  384  int
 385  385  dsl_prop_unregister(dsl_dataset_t *ds, const char *propname,
 386  386      dsl_prop_changed_cb_t *callback, void *cbarg)
 387  387  {
 388  388          dsl_dir_t *dd = ds->ds_dir;
 389  389          dsl_prop_cb_record_t *cbr;
 390  390  
 391  391          mutex_enter(&dd->dd_lock);
 392  392          for (cbr = list_head(&dd->dd_prop_cbs);
↓ open down ↓ 737 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX