Re: [PATCH] exfat: fix erroneous discard when clear cluster bit

2021-03-02 Thread Hyeongseok Kim
On 3/2/21 11:41 AM, Sungjong Seo wrote: Subject: [PATCH] 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 adds reserved

RE: [PATCH] exfat: fix erroneous discard when clear cluster bit

2021-03-01 Thread Sungjong Seo
> Subject: [PATCH] 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 adds reserved cluster size whic

[PATCH] exfat: fix erroneous discard when clear cluster bit

2021-02-25 Thread Hyeongseok Kim
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 adds reserved cluster size which is 2, leading to discard unrelated sectors included in target+2 cluster. Fixes: 1e49a94cf707 (