diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2023-02-10 13:33:44 +0800 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2023-02-28 20:01:40 +0900 |
commit | d5c514b6a0c0b77ed7e5ef2484e8b20eb09c5f27 (patch) | |
tree | 169f90d4c9457dba80685c1677237e1cd0b0de51 /fs/exfat/super.c | |
parent | 3ce937cb8ca9becec406611c6072e93030fdde76 (diff) |
exfat: fix the newly allocated clusters are not freed in error handling
In error handling 'free_cluster', before num_alloc clusters allocated,
p_chain->size will not updated and always 0, thus the newly allocated
clusters are not freed.
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs/exfat/super.c')
0 files changed, 0 insertions, 0 deletions