diff options
author | Paul Mundt <lethal@linux-sh.org> | 2011-01-12 00:37:42 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-12 00:37:42 -0500 |
commit | 83eb95b852902f952ba594447a796ad8146b9462 (patch) | |
tree | 33c199aeeae58b69ad8d6d2a33c2d96ba2b98ddf /fs/udf/balloc.c | |
parent | efb3e34b6176d30c4fe8635fa8e1beb6280cc2cd (diff) | |
parent | 9bbe7b984096ac45586da2adf26c14069ecb79b2 (diff) |
Merge branch 'sh/sdio' into sh-latest
Diffstat (limited to 'fs/udf/balloc.c')
-rw-r--r-- | fs/udf/balloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c index b608efaa4cee..306ee39ef2c3 100644 --- a/fs/udf/balloc.c +++ b/fs/udf/balloc.c | |||
@@ -157,10 +157,9 @@ static void udf_bitmap_free_blocks(struct super_block *sb, | |||
157 | udf_debug("bit %ld already set\n", bit + i); | 157 | udf_debug("bit %ld already set\n", bit + i); |
158 | udf_debug("byte=%2x\n", | 158 | udf_debug("byte=%2x\n", |
159 | ((char *)bh->b_data)[(bit + i) >> 3]); | 159 | ((char *)bh->b_data)[(bit + i) >> 3]); |
160 | } else { | ||
161 | udf_add_free_space(sb, sbi->s_partition, 1); | ||
162 | } | 160 | } |
163 | } | 161 | } |
162 | udf_add_free_space(sb, sbi->s_partition, count); | ||
164 | mark_buffer_dirty(bh); | 163 | mark_buffer_dirty(bh); |
165 | if (overflow) { | 164 | if (overflow) { |
166 | block += count; | 165 | block += count; |