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/spa_misc.c
          +++ new/usr/src/uts/common/fs/zfs/spa_misc.c
↓ open down ↓ 1326 lines elided ↑ open up ↑
1327 1327  {
1328 1328          va_list adx;
1329 1329  
1330 1330          va_start(adx, fmt);
1331 1331          vcmn_err(zfs_recover ? CE_WARN : CE_PANIC, fmt, adx);
1332 1332          va_end(adx);
1333 1333  }
1334 1334  
1335 1335  /*
1336 1336   * This is a stripped-down version of strtoull, suitable only for converting
1337      - * lowercase hexidecimal numbers that don't overflow.
     1337 + * lowercase hexadecimal numbers that don't overflow.
1338 1338   */
1339 1339  uint64_t
1340 1340  strtonum(const char *str, char **nptr)
1341 1341  {
1342 1342          uint64_t val = 0;
1343 1343          char c;
1344 1344          int digit;
1345 1345  
1346 1346          while ((c = *str) != '\0') {
1347 1347                  if (c >= '0' && c <= '9')
↓ open down ↓ 501 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX