aboutsummaryrefslogtreecommitdiff
path: root/fs/ocfs2/heartbeat.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-07-11 19:27:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-07-11 19:27:31 -0400
commita379cd1d6bb00f9f5d2759d4a5621a884df5914e (patch)
tree437211f483736d3a2335cbca20e771b099b6bf77 /fs/ocfs2/heartbeat.c
parent363d4251d4bd984c304e0989789f6494343660fd (diff)
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/heartbeat.c')
0 files changed, 0 insertions, 0 deletions