summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-07-12 01:27:31 +0200
committerTheodore Ts'o <tytso@mit.edu>2008-07-12 01:27:31 +0200
commita379cd1d6bb00f9f5d2759d4a5621a884df5914e (patch)
tree437211f483736d3a2335cbca20e771b099b6bf77 /fs/ocfs2
parentext4: remove quota allocation when ext4_mb_new_blocks fails (diff)
downloadlinux-a379cd1d6bb00f9f5d2759d4a5621a884df5914e.tar.xz
linux-a379cd1d6bb00f9f5d2759d4a5621a884df5914e.zip
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 <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions