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 538c4865508..5b6973fbf1b 100644 --- a/fs/ext4/block_validity.c +++ b/fs/ext4/block_validity.c | |||
@@ -72,9 +72,9 @@ static int add_system_zone(struct ext4_sb_info *sbi, | |||
72 | else if (start_blk >= (entry->start_blk + entry->count)) | 72 | else if (start_blk >= (entry->start_blk + entry->count)) |
73 | n = &(*n)->rb_right; | 73 | n = &(*n)->rb_right; |
74 | else { | 74 | else { |
75 | if (start_blk + count > (entry->start_blk + | 75 | if (start_blk + count > (entry->start_blk + |
76 | entry->count)) | 76 | entry->count)) |
77 | entry->count = (start_blk + count - | 77 | entry->count = (start_blk + count - |
78 | entry->start_blk); | 78 | entry->start_blk); |
79 | new_node = *n; | 79 | new_node = *n; |
80 | new_entry = rb_entry(new_node, struct ext4_system_zone, | 80 | new_entry = rb_entry(new_node, struct ext4_system_zone, |