aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorFan Li <[email protected]>2015-12-26 18:07:41 +0800
committerJaegeuk Kim <[email protected]>2015-12-30 10:14:16 -0800
commit9a950d52b7f0e1c64c2cc70d350562fb18c8b451 (patch)
tree2dabc8cc670cc4aa93561f753d0f723941a9f564 /lib/string_helpers.c
parent6d5a1495eebd441216dc96913a4270100b26e104 (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 <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions