diff options
author | Brian Behlendorf <[email protected]> | 2009-03-12 10:00:03 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-03-12 10:00:03 -0700 |
commit | 193ea156e9b90a57590751a76ab1bf03b8e24718 (patch) | |
tree | b29d1fad7a69b810c188794db89a261965f801c4 /module/zfs/arc.c | |
parent | fba88e48f28604cabe81b3e305f92b9fc3cc3fb2 (diff) | |
parent | 61980f28b85b0d3916d82410051c889f1c3c9ef9 (diff) |
Merge branch 'gcc-branch' into refs/top-bases/zfs-branch
Diffstat (limited to 'module/zfs/arc.c')
-rw-r--r-- | module/zfs/arc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c index b7278822b..9589006d9 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -1112,6 +1112,8 @@ arc_space_consume(uint64_t space, arc_space_type_t type) ASSERT(type >= 0 && type < ARC_SPACE_NUMTYPES); switch (type) { + default: + break; case ARC_SPACE_DATA: ARCSTAT_INCR(arcstat_data_size, space); break; @@ -1136,6 +1138,8 @@ arc_space_return(uint64_t space, arc_space_type_t type) ASSERT(type >= 0 && type < ARC_SPACE_NUMTYPES); switch (type) { + default: + break; case ARC_SPACE_DATA: ARCSTAT_INCR(arcstat_data_size, -space); break; |