Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54555
b: refs/heads/master
c: 2d3466a
h: refs/heads/master
i:
  54553: e4d01ea
  54551: d582bf9
v: v3
  • Loading branch information
Dmitriy Monakhov authored and Linus Torvalds committed May 8, 2007
1 parent e79bebe commit dc3007a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 82f703bb8cb2732b4437a9f555a1be564e9e71c2
refs/heads/master: 2d3466a348a61c4d7f958ce80020eba17c09d7f7
4 changes: 4 additions & 0 deletions trunk/fs/reiserfs/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ int reiserfs_resize(struct super_block *s, unsigned long block_count_new)
/* don't use read_bitmap_block since it will cache
* the uninitialized bitmap */
bh = sb_bread(s, i * s->s_blocksize * 8);
if (!bh) {
vfree(bitmap);
return -EIO;
}
memset(bh->b_data, 0, sb_blocksize(sb));
reiserfs_test_and_set_le_bit(0, bh->b_data);
reiserfs_cache_bitmap_metadata(s, bh, bitmap + i);
Expand Down

0 comments on commit dc3007a

Please sign in to comment.