Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 178716
b: refs/heads/master
c: 500f5a0
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker committed Dec 14, 2009
1 parent 372a35b commit 3115f25
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6548698f929814375fa5d62ae1db96959b0418c1
refs/heads/master: 500f5a0bf5f0624dae34307010e240ec090e4cde
3 changes: 3 additions & 0 deletions trunk/fs/reiserfs/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,10 @@ int reiserfs_init_bitmap_cache(struct super_block *sb)
struct reiserfs_bitmap_info *bitmap;
unsigned int bmap_nr = reiserfs_bmap_count(sb);

/* Avoid lock recursion in fault case */
reiserfs_write_unlock(sb);
bitmap = vmalloc(sizeof(*bitmap) * bmap_nr);
reiserfs_write_lock(sb);
if (bitmap == NULL)
return -ENOMEM;

Expand Down

0 comments on commit 3115f25

Please sign in to comment.