aboutsummaryrefslogtreecommitdiff
path: root/ubifs-utils/common/rwsem.h
AgeCommit message (Collapse)Author
8 daysubifs-utils: Add rwsem implementationsZhihao Cheng
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>