diff options
author | Brian Behlendorf <[email protected]> | 2009-01-13 13:32:29 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-01-13 13:32:29 -0800 |
commit | bb9b10a8309ee5b4af5894e7fa176ab38ab701c6 (patch) | |
tree | 3784dbd1c17d7af32bf9063b433087069b1da4e1 /module | |
parent | 578c9645df41a78c01bc1a61462e20d2880481d6 (diff) | |
parent | b73b29ab8e023a94e9bfbc58c27af8765da9b740 (diff) |
Merge branch 'gcc-c90' into refs/top-bases/gcc-branch
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/dsl_dir.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/module/zfs/dsl_dir.c b/module/zfs/dsl_dir.c index 9a76d989a..7c46092ab 100644 --- a/module/zfs/dsl_dir.c +++ b/module/zfs/dsl_dir.c @@ -952,11 +952,13 @@ dsl_dir_diduse_space(dsl_dir_t *dd, dd_used_t type, dd->dd_phys->dd_used_breakdown[type] >= -used); dd->dd_phys->dd_used_breakdown[type] += used; #ifdef DEBUG - dd_used_t t; - uint64_t u = 0; - for (t = 0; t < DD_USED_NUM; t++) - u += dd->dd_phys->dd_used_breakdown[t]; - ASSERT3U(u, ==, dd->dd_phys->dd_used_bytes); + { + dd_used_t t; + uint64_t u = 0; + for (t = 0; t < DD_USED_NUM; t++) + u += dd->dd_phys->dd_used_breakdown[t]; + ASSERT3U(u, ==, dd->dd_phys->dd_used_bytes); + } #endif } if (needlock) |