Commit e2a390cc authored by dongliang.cui's avatar dongliang.cui Committed by Treehugger Robot
Browse files

UPSTREAM: exfat: support create zero-size directory



This commit adds mount option 'zero_size_dir'. If this option
enabled, don't allocate a cluster to directory when creating
it, and set the directory size to 0.

On Windows, a cluster is allocated for a directory when it is
created, so the mount option is disabled by default.

Signed-off-by: default avatarYuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: default avatarAndy Wu <Andy.Wu@sony.com>
Reviewed-by: default avatarAoyama Wataru <wataru.aoyama@sony.com>
Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
(cherry picked from commit ee785c15)

Bug: 362138008

Change-Id: I00c42765e050fbb8b757acd9b5394b5e4a8a3fe7
Signed-off-by: default avatardongliang.cui <dongliang.cui@unisoc.com>
parent 4cdb6f5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment