diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-07-17 12:05:21 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-08-05 17:08:12 +0200 |
commit | a5f64b6aa69b5cc05e198291811a2f3faf95b463 (patch) | |
tree | c529994d48adc21e3646871de638e249259993dc /kernel/utsname_sysctl.c | |
parent | f2fs: skip writing in ->writepages when no dirty pages exist (diff) | |
download | linux-a5f64b6aa69b5cc05e198291811a2f3faf95b463.tar.xz linux-a5f64b6aa69b5cc05e198291811a2f3faf95b463.zip |
f2fs: fix to wait all atomic written pages writeback
This patch fixes the incorrect range (0, LONG_MAX) which is used
in ranged fsync. If we use LONG_MAX as the parameter for indicating
the end of file we want to synchronize, in 32-bits architecture
machine, these datas after 4GB offset may not be persisted in
storage after ->fsync returned.
Here, we alter LONG_MAX to LLONG_MAX to fix this issue.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions