aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorDmitry Monakhov <[email protected]>2014-08-27 22:40:03 +0000
committerTheodore Ts'o <[email protected]>2014-08-29 02:20:41 +0000
commit6603120e96eae9a5d6228681ae55c7fdc998d1bb (patch)
tree7be8007807786ae2437e62c374f8fded7682b65e /fs/jbd2/commit.c
parentext4: fix transaction issues for ext4_fallocate and ext_zero_range (diff)
downloadkernel-6603120e96eae9a5d6228681ae55c7fdc998d1bb.tar.gz
kernel-6603120e96eae9a5d6228681ae55c7fdc998d1bb.zip
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 <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions