History

Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs

Pull ext2 fix from Jan Kara: "One simple fix of oops in ext2 which was recently hit by Christoph" * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs: ext2: Fix oops in ext2_get_block() called from ext2_quota_write()

Linus Torvalds committed 12 years ago

Commit dc0a6b42 parents 6961bc6 df4e7ac1 file · +1 −0Browse files

Unified · Split

fs/ext2/super.c+1−0
@@ -1493,6 +1493,7 @@ static ssize_t ext2_quota_write(struct super_block *sb, int type, · 1492 unmodified lines
14931493 sb->s_blocksize - offset : towrite;
14941494
14951495 tmp_bh.b_state = 0;
1496+ tmp_bh.b_size = sb->s_blocksize;
14961497 err = ext2_get_block(inode, blk, &tmp_bh, 1);
14971498 if (err < 0)
14981499 goto out;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t