mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
JFS: Fix bug in quota code. tmp_bh.b_size must be initialized
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
This commit is contained in:
parent
115ff50bad
commit
8bcb2839b7
1 changed files with 1 additions and 0 deletions
|
@ -678,6 +678,7 @@ static ssize_t jfs_quota_write(struct super_block *sb, int type,
|
|||
sb->s_blocksize - offset : towrite;
|
||||
|
||||
tmp_bh.b_state = 0;
|
||||
tmp_bh.b_size = 1 << inode->i_blkbits;
|
||||
err = jfs_get_block(inode, blk, &tmp_bh, 1);
|
||||
if (err)
|
||||
goto out;
|
||||
|
|
Loading…
Reference in a new issue