summaryrefslogtreecommitdiff
path: root/fs/ext4/readpage.c
diff options
context:
space:
mode:
authorYuezhang Mo <Yuezhang.Mo@sony.com>2023-02-10 08:33:44 +0300
committerNamjae Jeon <linkinjeon@kernel.org>2023-02-28 14:01:40 +0300
commitd5c514b6a0c0b77ed7e5ef2484e8b20eb09c5f27 (patch)
tree169f90d4c9457dba80685c1677237e1cd0b0de51 /fs/ext4/readpage.c
parent3ce937cb8ca9becec406611c6072e93030fdde76 (diff)
downloadlinux-d5c514b6a0c0b77ed7e5ef2484e8b20eb09c5f27.tar.xz
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/ext4/readpage.c')
0 files changed, 0 insertions, 0 deletions