summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-samsung.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-04-29 01:03:03 (GMT)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-05-07 01:21:58 (GMT)
commit8aa6f1c5bd7043734fff1961a4795da9cc5d0f50 (patch)
treec2b9ae38929b9511919fabda9429eec05e75d5c2 /drivers/pwm/pwm-samsung.c
parent817202d937e6cca7e60f42e6495aaa51d70d9d7e (diff)
downloadlinux-8aa6f1c5bd7043734fff1961a4795da9cc5d0f50.tar.xz
f2fs: fix to truncate inline data in inode page when setattr
Previous we do not truncate inline data in inode page when setattr, so following case could still read the inline data which has already truncated: 1.write inline data 2.ftruncate size to 0 3.ftruncate size to max inline data size 4.read from offset 0 This patch introduces truncate_inline_data() to fix this problem. change log from v1: o fix a bug and do not truncate first page data after truncate inline data. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'drivers/pwm/pwm-samsung.c')
0 files changed, 0 insertions, 0 deletions