summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/segment.h
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-09-15 18:02:09 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2014-09-23 11:10:20 -0700
commit09db6a2ef8d9ca6da71b5de56097e8b769bef299 (patch)
tree4d5d42b53c9ada734e44e868c7d9146d165d192a /fs/f2fs/segment.h
parent976e4c50aea111bc7193b48950a3b0c8bc0a25ff (diff)
downloadlinux-stable-09db6a2ef8d9ca6da71b5de56097e8b769bef299.tar.gz
linux-stable-09db6a2ef8d9ca6da71b5de56097e8b769bef299.tar.bz2
linux-stable-09db6a2ef8d9ca6da71b5de56097e8b769bef299.zip
f2fs: fix to truncate blocks past EOF in ->setattr
By using FALLOC_FL_KEEP_SIZE in ->fallocate of f2fs, we can fallocate block past EOF without changing i_size of inode. These blocks past EOF will not be truncated in ->setattr as we truncate them only when change the file size. We should give a chance to truncate blocks out of filesize in setattr(). Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/segment.h')
0 files changed, 0 insertions, 0 deletions