aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2016-05-05 19:13:02 +0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:33:28 +0200
commit7c259bdd5b3732f9204510e8b87d64fdbc9c7d90 (patch)
tree0abb54931c503bdb713f11d3adcb2125962736c0 /include
parent5ab73dd8651e41a9f7c2db2b0931309333b39830 (diff)
f2fs: fix incorrect mapping in ->bmap
Currently, generic_block_bmap is used in f2fs_bmap, its semantics is when the mapping is been found, return position of target physical block, otherwise return zero. But, previously, when there is no mapping info for specified logical block, f2fs_bmap will map target physical block to a uninitialized variable, which should be wrong. Fix it. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions