summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-12-01 11:36:16 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-12-04 13:14:44 -0800
commit0cab80ee0c9e17337468c4c0f96786ccbca693d9 (patch)
tree9694a8f3442ceb8b488e27cc16fddb09809d3ee1 /fs/f2fs/segment.c
parent3519e3f992995d46c200134cfbf84c61b7a01f4c (diff)
downloadop-kernel-dev-0cab80ee0c9e17337468c4c0f96786ccbca693d9.zip
op-kernel-dev-0cab80ee0c9e17337468c4c0f96786ccbca693d9.tar.gz
f2fs: fix to convert inline inode in ->setattr
In commit 3c4541452748 ("f2fs: do not trim preallocated blocks when truncating after i_size"), in order to follow the regulation: "truncate(x) where x > i_size will not trim all blocks past i_size." like other file systems, in ->setattr we invoked truncate_setsize instead of f2fs_truncate to avoid unneeded block trimming in such case, but forgot to call f2fs_convert_inline_inode keep consistency of inline data conversion rule. This patch fixes to convert inline data if necessary. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud