diff options
Diffstat (limited to 'fs/ext4/block_validity.c')
-rw-r--r-- | fs/ext4/block_validity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/block_validity.c b/fs/ext4/block_validity.c index a60ab9aad57d..983f0e127493 100644 --- a/fs/ext4/block_validity.c +++ b/fs/ext4/block_validity.c | |||
@@ -205,14 +205,14 @@ void ext4_release_system_zone(struct super_block *sb) | |||
205 | entry = rb_entry(n, struct ext4_system_zone, node); | 205 | entry = rb_entry(n, struct ext4_system_zone, node); |
206 | kmem_cache_free(ext4_system_zone_cachep, entry); | 206 | kmem_cache_free(ext4_system_zone_cachep, entry); |
207 | if (!parent) | 207 | if (!parent) |
208 | EXT4_SB(sb)->system_blks.rb_node = NULL; | 208 | EXT4_SB(sb)->system_blks = RB_ROOT; |
209 | else if (parent->rb_left == n) | 209 | else if (parent->rb_left == n) |
210 | parent->rb_left = NULL; | 210 | parent->rb_left = NULL; |
211 | else if (parent->rb_right == n) | 211 | else if (parent->rb_right == n) |
212 | parent->rb_right = NULL; | 212 | parent->rb_right = NULL; |
213 | n = parent; | 213 | n = parent; |
214 | } | 214 | } |
215 | EXT4_SB(sb)->system_blks.rb_node = NULL; | 215 | EXT4_SB(sb)->system_blks = RB_ROOT; |
216 | } | 216 | } |
217 | 217 | ||
218 | /* | 218 | /* |