git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c174e6d
)
ext4: update i_disksize coherently with block allocation on error path
author
Dmitry Monakhov
<dmonakhov@openvz.org>
Wed, 27 Aug 2014 22:40:03 +0000
(18:40 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 29 Aug 2014 02:20:41 +0000
(22:20 -0400)
In case of delalloc block i_disksize may be less than i_size. So we
have to update i_disksize each time we allocated and submitted some
blocks beyond i_disksize. We weren't doing this on the error paths,
so fix this.
testcase: xfstest generic/019
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/inode.c
patch
|
blob
|
history
diff --cc
fs/ext4/inode.c
Simple merge