diff options
| author | Chao Yu <chao2.yu@samsung.com> | 2015-12-01 11:36:16 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:32:29 +0200 |
| commit | 8f04f2067c8c137f9b9cdc036fc1cdca11c0a422 (patch) | |
| tree | fd20b233256e3980b1fe6326791932dcda363e83 /kernel/stacktrace.c | |
| parent | addb01305f6dccad99514dc5334d94668e6f0908 (diff) | |
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 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions
