Summary: |
|
||||||
---|---|---|---|---|---|---|---|
Description: |
|
||||||
Testing Done: |
|
||||||
Bugs: |
|
-
-
-
-
usr/src/boot/sys/boot/i386/gptzfsboot/zfsboot.c (Diff revision 1) style - function name on new line.
-
-
usr/src/boot/sys/boot/zfs/zfsimpl.c (Diff revision 1) some suspicious bracketing here ( () ( ? : () ) )
-
-
-
usr/src/boot/sys/boot/zfs/zfsimpl.c (Diff revision 1) This is better written as (without val = 0):
if (nvlist_find(...) == 0 && val != 0) return (EIO);
And, BTW, about that '0' arg which is supposed to be
int* elementsp
- should we use NULL there instead? -
usr/src/boot/sys/boot/zfs/zfsimpl.c (Diff revision 1) you could really combine these 2 ifs into just one as resulting assignment is the same:
if (up->ub_txg > spa->spa_uberblock.ub_txg || (up->ub_txg == spa->spa_uberblock.ub_txg && up->ub_timestamp > spa->spa_uberblock.ub_timestamp)) spa->spa_uberblock = *up;
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+220 -108) |
Change Summary:
Just attaching version number, no functional change.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+221 -107) |
Change Summary:
rebase on 7987 - version update.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 4 (+221 -107) |