aboutsummaryrefslogtreecommitdiff
path: root/lib/zstd/common/debug.c
diff options
context:
space:
mode:
authorJoachim Wiberg <troglobit@gmail.com>2021-10-09 08:09:55 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-10-15 12:30:35 +0200
commit7b09acdcb944a9be6acc38ab1aa8a0ffd08871c1 (patch)
tree9e36bf7754eec9ebba4f27c9003c414159d81a08 /lib/zstd/common/debug.c
parenta04e96537cc64b63fbeb300df2503167bb54f2a1 (diff)
mtd: block2mtd: add support for an optional custom MTD label
This patch adds support for an optional MTD label for mtd2block emulated MTD devices. Useful when, e.g., testing device images using Qemu. The following line in /etc/fstab can then be used to mount a file system regardless if running on an embedded system, or emulated with block2mtd: mtd:Config /mnt jffs2 noatime,nodiratime 0 0 Kernel command line syntax in the emulated case: block2mtd.block2mtd=/dev/sda,,Config Notice the ',,' it is the optional erase_size, which like before this patch, defaults to PAGE_SIZE when omitted. Hence the strlen() check. Signed-off-by: Joachim Wiberg <troglobit@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20211009060955.552636-3-troglobit@gmail.com
Diffstat (limited to 'lib/zstd/common/debug.c')
0 files changed, 0 insertions, 0 deletions