diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2023-07-20 14:23:08 +0800 |
---|---|---|
committer | Namjae Jeon <linkinjeon@kernel.org> | 2023-10-31 10:01:08 +0900 |
commit | dab48b8f2fe7264d51ec9eed0adea0fe3c78830a (patch) | |
tree | da082f7ba433b9f09ed5356c61022cd1cf003368 /fs/exfat/super.c | |
parent | 0ab8ba71868594acfc717b8c7d1738b9118118ec (diff) | |
download | lwn-dab48b8f2fe7264d51ec9eed0adea0fe3c78830a.tar.gz lwn-dab48b8f2fe7264d51ec9eed0adea0fe3c78830a.zip |
exfat: support handle zero-size directory
After repairing a corrupted file system with exfatprogs' fsck.exfat,
zero-size directories may result. It is also possible to create
zero-size directories in other exFAT implementation, such as Paragon
ufsd dirver.
As described in the specification, the lower directory size limits
is 0 bytes.
Without this commit, sub-directories and files cannot be created
under a zero-size directory, and it cannot be removed.
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'fs/exfat/super.c')
0 files changed, 0 insertions, 0 deletions