From 6c65bcc57fbc51deed6e48b8bdc6d85cf00ef647 Mon Sep 17 00:00:00 2001 From: Zhihao Cheng Date: Mon, 11 Nov 2024 16:37:09 +0800 Subject: ubifs-utils: Adapt debug subsystem in libubifs Adapt debug subsystem(debug.c, debug.h) in libubifs, compared with linux kernel implementations: 1. Only keep the disk data and space statistics dumping implementations, dbg_walk_index and add_size which are used by fsck, other debuging related implementations and sysfs interfaces are removed, because fsck will check fs in another way. 2. Change the behavior of ubifs_assert_failed(), make filesystem readonly when assertion is failed. Signed-off-by: Zhihao Cheng Signed-off-by: David Oberhollenzer --- ubifs-utils/libubifs/ubifs.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'ubifs-utils/libubifs/ubifs.h') diff --git a/ubifs-utils/libubifs/ubifs.h b/ubifs-utils/libubifs/ubifs.h index f32818d..2af9d87 100644 --- a/ubifs-utils/libubifs/ubifs.h +++ b/ubifs-utils/libubifs/ubifs.h @@ -786,8 +786,6 @@ struct ubifs_budg_info { int dent_budget; }; -struct ubifs_debug_info; - /** * struct ubifs_info - UBIFS file-system description data structure * (per-superblock). -- cgit v1.2.3