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/zfs_rlock.c
          +++ new/usr/src/uts/common/fs/zfs/zfs_rlock.c
↓ open down ↓ 20 lines elided ↑ open up ↑
  21   21  /*
  22   22   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  /*
  26   26   * Copyright (c) 2012 by Delphix. All rights reserved.
  27   27   */
  28   28  
  29   29  /*
  30   30   * This file contains the code to implement file range locking in
  31      - * ZFS, although there isn't much specific to ZFS (all that comes to mind
       31 + * ZFS, although there isn't much specific to ZFS (all that comes to mind is
  32   32   * support for growing the blocksize).
  33   33   *
  34   34   * Interface
  35   35   * ---------
  36   36   * Defined in zfs_rlock.h but essentially:
  37   37   *      rl = zfs_range_lock(zp, off, len, lock_type);
  38   38   *      zfs_range_unlock(rl);
  39   39   *      zfs_range_reduce(rl, off, len);
  40   40   *
  41   41   * AVL tree
↓ open down ↓ 564 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX