diff options
| author | Dmitry Monakhov <dmonakhov@openvz.org> | 2014-08-27 18:40:03 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-05 16:36:38 -0700 |
| commit | e531b072556fdb32ca36f6d73902b1433af2a264 (patch) | |
| tree | 9d7a6465fab2d4729fedc46b87dea0e5d87c45cc /include/linux/task_work.h | |
| parent | d89b2f764e9f9eb6c1ac90d25e6fc5b43b676a48 (diff) | |
ext4: update i_disksize coherently with block allocation on error path
commit 6603120e96eae9a5d6228681ae55c7fdc998d1bb upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions
