diff options
author | Chao Yu <chao2.yu@samsung.com> | 2016-02-24 17:20:44 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-25 17:27:03 -0800 |
commit | 80dd9c0e9db220697301e76b7b61f580ad9e8ecd (patch) | |
tree | e56ed4bab3b42033943ae3fdd86353e5f0db9936 /firmware/dsp56k | |
parent | 0ff21646f2a5c6ff77acc51eb3df4235af39be46 (diff) | |
download | lwn-80dd9c0e9db220697301e76b7b61f580ad9e8ecd.tar.gz lwn-80dd9c0e9db220697301e76b7b61f580ad9e8ecd.zip |
f2fs: fix incorrect upper bound when iterating inode mapping tree
1. Inode mapping tree can index page in range of [0, ULONG_MAX], however,
in some places, f2fs only search or iterate page in ragne of [0, LONG_MAX],
result in miss hitting in page cache.
2. filemap_fdatawait_range accepts range parameters in unit of bytes, so
the max range it covers should be [0, LLONG_MAX], if we use [0, LONG_MAX]
as range for waiting on writeback, big number of pages will not be covered.
This patch corrects above two issues.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'firmware/dsp56k')
0 files changed, 0 insertions, 0 deletions