summaryrefslogtreecommitdiff
path: root/ubifs-utils/mkfs.ubifs/compr.c
diff options
context:
space:
mode:
authorManikandan Ramachandran <crmanik@gmail.com>2015-08-06 11:38:14 -0700
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-02-21 11:34:05 +0100
commitd7e86124d55bbcee1b82c68b82389ebcda588076 (patch)
tree2cd900df663de57d1cb4dbfe182ab04bdd3228c9 /ubifs-utils/mkfs.ubifs/compr.c
parentfc7aa01f07919155fc167846125bc8f7e965b89d (diff)
mtd-utils: Support jffs2 flash-erase for large OOB (>32b)
"flash_erase" fails on nand flash with JFFS2 that has OOB size greater than 32 bytes. "flash_erase" uses "MEMGETOOSEL" to determine OOB size. This ioctl call is obsolete and returns error if OOB size is more than 32 bytes. This patch fixes this issue by using "mtd_write" to update clean-marker instead of mtd_oob_write. This fix is based on the discussion: http://lists.infradead.org/pipermail/linux-mtd/2011-September/037958.html. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs/compr.c')
0 files changed, 0 insertions, 0 deletions