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

Add mutexlock implementations, because there are some mutexlocks
(eg. c->tnc_mutex, c->log_mutex) used in UBIFS linux kernel libs.
The mutexlock 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/mutex.h [new file with mode: 0644]