diff options
author | Hyeongseok Kim <hyeongseok@gmail.com> | 2021-03-04 09:15:34 +0900 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2021-04-27 20:45:06 +0900 |
commit | 77edfc6e51055b61cae2f54c8e6c3bb7c762e4fe (patch) | |
tree | 451dbeb5e3b50d0d5311d2b5dfcee65ca955953a /lib/dynamic_debug.c | |
parent | 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 (diff) |
exfat: fix erroneous discard when clear cluster bit
If mounted with discard option, exFAT issues discard command when clear
cluster bit to remove file. But the input parameter of cluster-to-sector
calculation is abnormally added by reserved cluster size which is 2,
leading to discard unrelated sectors included in target+2 cluster.
With fixing this, remove the wrong comments in set/clear/find bitmap
functions.
Fixes: 1e49a94cf707 ("exfat: add bitmap operations")
Cc: stable@vger.kernel.org # v5.7+
Signed-off-by: Hyeongseok Kim <hyeongseok@gmail.com>
Acked-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions