diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2024-11-11 16:36:38 +0800 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2024-11-11 10:32:45 +0100 |
commit | 0d1c454bfcbbe90f6fe9930f1c68f259bd66b114 (patch) | |
tree | 4d23eef04a83c14adf17f4293ed946bd8e5caace /ubifs-utils/common/super.c | |
parent | f3bacdcd9cdfbe4f9861767258b359aba4db3f80 (diff) |
ubifs-utils: Add 'dev_fd' and 'libubi' into 'ubifs_info' structure
Embed new members 'dev_fd' and 'libubi' into ubifs_info structure, so
that global variable 'ubi', 'out_fd' and 'out_ubi' could be removed
from mkfs.ubifs.c. Besides, add parameter in check_volume_empty().
Next patch will extract UBI opening/closing/check_volume_empty functions
into a new source file, these functions will be used in fsck.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/common/super.c')
0 files changed, 0 insertions, 0 deletions