diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2023-08-28 09:38:44 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2023-10-29 00:15:44 +0300 |
commit | d4c48e5b58f12835de779f5425ef741c4d0fb53e (patch) | |
tree | 5ac8c422f56e56b4bcfae28fbf7647135f733b88 /drivers/mtd/ubi/ubi.h | |
parent | 90e0be56144b064be1a816cbdd184d2a8be7061b (diff) | |
download | linux-d4c48e5b58f12835de779f5425ef741c4d0fb53e.tar.xz |
ubi: fastmap: Add module parameter to control reserving filling pool PEBs
Adding 6th module parameter in 'mtd=xxx' to control whether or not
reserving PEBs for filling pool/wl_pool.
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r-- | drivers/mtd/ubi/ubi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 6e20a0fee72f..a5ec566df0d7 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ubi.h @@ -944,7 +944,7 @@ int ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum, /* build.c */ int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset, int max_beb_per1024, - bool disable_fm); + bool disable_fm, bool need_resv_pool); int ubi_detach_mtd_dev(int ubi_num, int anyway); struct ubi_device *ubi_get_device(int ubi_num); void ubi_put_device(struct ubi_device *ubi); |