diff options
| author | Fan Li <fanofcode.li@samsung.com> | 2015-12-26 18:07:41 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:32:41 +0200 |
| commit | 1ce743bc0092cda571e83795db643e2381a80515 (patch) | |
| tree | be5069a99b9f6b099c5aaf96b97d91f12cc8ce96 /include/linux/patchkey.h | |
| parent | e7c0e6c0298a78e7639d63ea5d18d69d3cdc41a2 (diff) | |
f2fs: fix bugs and simplify codes of f2fs_fiemap
fix bugs:
1. len could be updated incorrectly when start+len is beyond isize.
2. If there is a hole consisting of more than two blocks, it could
fail to add FIEMAP_EXTENT_LAST flag for the last extent.
3. If there is an extent beyond isize, when we search extents in a range
that ends at isize, it will also return the extent beyond isize,
which is outside the range.
Signed-off-by: Fan li <fanofcode.li@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions
