projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115ff50
)
JFS: Fix bug in quota code. tmp_bh.b_size must be initialized
author
Dave Kleikamp
<shaggy@austin.ibm.com>
Fri, 28 Jul 2006 13:46:05 +0000
(08:46 -0500)
committer
Dave Kleikamp
<shaggy@austin.ibm.com>
Fri, 28 Jul 2006 13:46:05 +0000
(08:46 -0500)
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
fs/jfs/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/jfs/super.c
b/fs/jfs/super.c
index 90ee0de829c1196bcc282e24c6df2e7ffec26ba5..143bcd1d5eaa42f0529596676c85c16304a3e995 100644
(file)
--- a/
fs/jfs/super.c
+++ b/
fs/jfs/super.c
@@
-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;