diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-06-27 04:04:08 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-07-01 23:48:16 (GMT) |
commit | a1dd3c13ce65b726fddfe72b9d2f1009db983ce6 (patch) | |
tree | 19bb400f51389da870b4f3bcbfa05e7dd2d97f23 /fs/inode.c | |
parent | 5ebefc5b409a194a09da7ad1962b4bfce10a6859 (diff) | |
download | linux-fsl-qoriq-a1dd3c13ce65b726fddfe72b9d2f1009db983ce6.tar.xz |
f2fs: fix to recover i_size from roll-forward
If user requests many data writes and fsync together, the last updated i_size
should be stored to the inode block consistently.
But, previous write_end just marks the inode as dirty and doesn't update its
metadata into its inode block.
After that, fsync just writes the inode block with newly updated data index
excluding inode metadata updates.
So, this patch introduces write_end in which updates inode block too when the
i_size is changed.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions