diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2014-08-28 02:40:03 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-08-29 06:20:41 +0400 |
commit | 6603120e96eae9a5d6228681ae55c7fdc998d1bb (patch) | |
tree | 7be8007807786ae2437e62c374f8fded7682b65e /virt/kvm/assigned-dev.c | |
parent | c174e6d6979a04b7b77b93f244396be4b81f8bfb (diff) | |
download | linux-6603120e96eae9a5d6228681ae55c7fdc998d1bb.tar.xz |
ext4: update i_disksize coherently with block allocation on error path
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
Diffstat (limited to 'virt/kvm/assigned-dev.c')
0 files changed, 0 insertions, 0 deletions