Commit a379cd1d authored by Committed by Theodore Ts'o
ext4: Update i_disksize properly when allocating from fallocate area.
When allocating unitialized space at the end of file which had been preallocated with the FALLOC_FL_KEEP_SIZE option, the file size is not updated at that time. But the later we are not updating the file size when writing to that preallocated space. These changes are for code correctness. This patch allows us to update the i_disksize at the write_end() callback of filesystem properly. Signed-off-by: Aneesh Kumar K.V <firstname.lastname@example.org> Signed-off-by: Mingming Cao <email@example.com> Signed-off-by: "Theodore Ts'o" <firstname.lastname@example.org>
Showing with 3 additions and 3 deletions