diff options
author | Chao Yu <yuchao0@huawei.com> | 2016-05-05 11:13:02 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-05-07 17:32:32 (GMT) |
commit | 43473f96453f0b075c480a26ec4fc846d5fb3bd4 (patch) | |
tree | b006060f4d1b8f34616b949c9dc4f278b39015cd /drivers/mfd/da9052-i2c.c | |
parent | fb58ae22067e0595d974e3d856522c1ed6d2d7bf (diff) | |
download | linux-43473f96453f0b075c480a26ec4fc846d5fb3bd4.tar.xz |
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 'drivers/mfd/da9052-i2c.c')
0 files changed, 0 insertions, 0 deletions