Message ID | 1389190820-11404-1-git-send-email-luis.henriques@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/ext2/super.c b/fs/ext2/super.c index b3621cb..74f4688 100644 --- a/fs/ext2/super.c +++ b/fs/ext2/super.c @@ -1449,6 +1449,7 @@ static ssize_t ext2_quota_write(struct super_block *sb, int type, sb->s_blocksize - offset : towrite; tmp_bh.b_state = 0; + tmp_bh.b_size = sb->s_blocksize; err = ext2_get_block(inode, blk, &tmp_bh, 1); if (err < 0) goto out;