]> www.infradead.org Git - mtd-utils.git/commit
ubifs-utils: Adapt ubifs header file in libubifs
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 08:36:56 +0000 (16:36 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:45 +0000 (10:32 +0100)
commitdad76dbf1f90729b7fd4d95673770df3be886250
tree170ab559b407cfd71fc0f88cea26778a26e1ca53
parent4bdb44d0d2d8dd9b84bbc11b9fd477c649d2f9e1
ubifs-utils: Adapt ubifs header file in libubifs

Adapt ubifs header file in libubifs, compared with linux kernel
implementations:
 1. New header file contains all definitions in common/ubifs.h
 2. Remove some structures(eg. ubifs_mount_opts, bu_info) and
    functions(eg. ubifs_sync_wbufs_by_inode, ubifs_jnl_XXX) which
    won't be used in fsck/mkfs.
 3. Modify some authentication related functions, keep functions
    that mkfs may need, other functions are defined as empty.
 4. Move ubifs message printing functions(ubifs_err/warn/msg) which
    are originally defined in misc.c into ubifs.h.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/libubifs/ubifs.h