diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2024-11-11 16:36:49 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-11-11 10:32:45 +0100 |
commit | 71354a4b25aa3f54ed214fc80638e34d3befa977 (patch) | |
tree | 0619fa1878579e15cddbd24d021c145980100c9f /ubifs-utils/Makemodule.am | |
parent | 2ac0a0ef95f731c75c8dd6f17ffd947000e7d61c (diff) |
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>
Diffstat (limited to 'ubifs-utils/Makemodule.am')
-rw-r--r-- | ubifs-utils/Makemodule.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ubifs-utils/Makemodule.am b/ubifs-utils/Makemodule.am index 9f33f0d..ece8a6e 100644 --- a/ubifs-utils/Makemodule.am +++ b/ubifs-utils/Makemodule.am @@ -7,6 +7,7 @@ common_SOURCES = \ ubifs-utils/common/bitops.c \ ubifs-utils/common/spinlock.h \ ubifs-utils/common/mutex.h \ + ubifs-utils/common/rwsem.h \ ubifs-utils/common/kmem.h \ ubifs-utils/common/kmem.c \ ubifs-utils/common/defs.h \ |