Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322199
b: refs/heads/master
c: 48d1788
h: refs/heads/master
i:
  322197: acd1fc3
  322195: a34b468
  322191: 4965b78
v: v3
  • Loading branch information
Jeff Mahoney authored and Jan Kara committed Aug 14, 2012
1 parent 35090a6 commit befa3f4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ea2eea1fa930b9308a06f77fce65c38931eeb13
refs/heads/master: 48d1788493f874e5d32dccb2911a7bc91c248b4b
2 changes: 0 additions & 2 deletions trunk/fs/reiserfs/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1334,9 +1334,7 @@ struct buffer_head *reiserfs_read_bitmap_block(struct super_block *sb,
else if (bitmap == 0)
block = (REISERFS_DISK_OFFSET_IN_BYTES >> sb->s_blocksize_bits) + 1;

reiserfs_write_unlock(sb);
bh = sb_bread(sb, block);
reiserfs_write_lock(sb);
if (bh == NULL)
reiserfs_warning(sb, "sh-2029: %s: bitmap block (#%u) "
"reading failed", __func__, block);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/reiserfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ void reiserfs_evict_inode(struct inode *inode)
;
}
out:
reiserfs_write_unlock_once(inode->i_sb, depth);
clear_inode(inode); /* note this must go after the journal_end to prevent deadlock */
dquot_drop(inode);
inode->i_blocks = 0;
reiserfs_write_unlock_once(inode->i_sb, depth);
return;

no_delete:
Expand Down

0 comments on commit befa3f4

Please sign in to comment.