diff options
author | Sungjong Seo <sj1557.seo@samsung.com> | 2025-03-26 17:48:48 +0300 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2025-03-29 16:03:07 +0300 |
commit | 59c30e31425833385e6644ad33151420e37eabe1 (patch) | |
tree | d3efb9860235af4e57d217f80db2190b7afc1bfe /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 47e35366bc6fa3cf189a8305bce63992495f3efa (diff) | |
download | linux-59c30e31425833385e6644ad33151420e37eabe1.tar.xz |
exfat: fix potential wrong error return from get_block
If there is no error, get_block() should return 0. However, when bh_read()
returns 1, get_block() also returns 1 in the same manner.
Let's set err to 0, if there is no error from bh_read()
Fixes: 11a347fb6cef ("exfat: change to get file size from DataLength")
Cc: stable@vger.kernel.org
Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Reviewed-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions