]> www.infradead.org Git - mtd-utils.git/commit
ubifs-utils: Add rwsem implementations
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 08:36:49 +0000 (16:36 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:45 +0000 (10:32 +0100)
commit71354a4b25aa3f54ed214fc80638e34d3befa977
tree0619fa1878579e15cddbd24d021c145980100c9f
parent2ac0a0ef95f731c75c8dd6f17ffd947000e7d61c
ubifs-utils: Add rwsem implementations

Add rwsem implementations, because there are some rwsems
(eg. c->commit_sem) used in UBIFS linux kernel libs.
The rwsem is implemented based on pthread mutex.

This is a preparation for replacing implementation of UBIFS utils with
linux kernel libs.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/Makemodule.am
ubifs-utils/common/rwsem.h [new file with mode: 0644]