Commit 5d609f0d authored by Yuezhang Mo's avatar Yuezhang Mo Committed by Greg Kroah-Hartman
Browse files

exfat: fix just enough dentries but allocate a new cluster to dir



[ Upstream commit 6697f819 ]

This commit fixes the condition for allocating cluster to parent
directory to avoid allocating new cluster to parent directory when
there are just enough empty directory entries at the end of the
parent directory.

Fixes: af02c72d ("exfat: convert exfat_find_empty_entry() to use dentry cache")
Signed-off-by: default avatarYuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 69697303
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment