From 2ac0a0ef95f731c75c8dd6f17ffd947000e7d61c Mon Sep 17 00:00:00 2001 From: Zhihao Cheng Date: Mon, 11 Nov 2024 16:36:48 +0800 Subject: 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 Signed-off-by: David Oberhollenzer --- ubifs-utils/Makemodule.am | 1 + 1 file changed, 1 insertion(+) (limited to 'ubifs-utils/Makemodule.am') diff --git a/ubifs-utils/Makemodule.am b/ubifs-utils/Makemodule.am index 7849114..9f33f0d 100644 --- a/ubifs-utils/Makemodule.am +++ b/ubifs-utils/Makemodule.am @@ -6,6 +6,7 @@ common_SOURCES = \ ubifs-utils/common/bitops.h \ ubifs-utils/common/bitops.c \ ubifs-utils/common/spinlock.h \ + ubifs-utils/common/mutex.h \ ubifs-utils/common/kmem.h \ ubifs-utils/common/kmem.c \ ubifs-utils/common/defs.h \ -- cgit v1.2.3