diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2024-02-07 09:29:43 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-09-25 09:08:41 +0200 |
commit | 1ffb962afe2239ac02e3890df29653d84f07b104 (patch) | |
tree | 17129f528be977bdd21294a1bc0c444f1ce41e21 /tests/fs-tests/simple/test_2.c | |
parent | de1386406f5130876be25d9fbee685fb9f0b3020 (diff) |
mkfs.ubifs: Clear direct_write property when closing target
Direct writing is not allowd on an UBI volume, unless the volume is set
with direct_write property. The open_target sets direct_write property,
don't forget to clear direct_write property for UBI volume when closing
target.
Fixes: a48340c335dab ("mkfs.ubifs: use libubi to format UBI volume")
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/fs-tests/simple/test_2.c')
0 files changed, 0 insertions, 0 deletions