diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2024-05-09 20:30:08 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-09-25 09:08:41 +0200 |
commit | 21b1a69625263ec08a0272240988ab8f685fba92 (patch) | |
tree | 95b7ec65b42bda49b56509a9780245376511d0ab /nand-utils/nandwrite.c | |
parent | d17b14d953b2ab56c938d6c7829b70b91c736efe (diff) |
mkfs.ubifs: Fix incorrect dir size calculation in encryption scenario
The size of directory should be the total length of encrypted entry name,
otherwise it could trigger errors while checking filesystem:
dbg_check_filesystem [ubifs]: directory inode 89 size is 352, but
calculated size is 400
Fixes: 4c55918dd747d ("Implement filename encryption")
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'nand-utils/nandwrite.c')
0 files changed, 0 insertions, 0 deletions