summaryrefslogtreecommitdiffstats
path: root/fs/romfs
diff options
context:
space:
mode:
authorArtem Bityutskiy2012-01-02 12:59:12 +0100
committerDavid Woodhouse2012-01-09 19:26:26 +0100
commit800ffd3496987e91f599a135060ef49731e045ac (patch)
treea62c4985597e6ce01d8f8ab07f67212357e2a846 /fs/romfs
parentlogfs: do not use 'mtd->block_isbad' directly (diff)
downloadkernel-qcow2-linux-800ffd3496987e91f599a135060ef49731e045ac.tar.gz
kernel-qcow2-linux-800ffd3496987e91f599a135060ef49731e045ac.tar.xz
kernel-qcow2-linux-800ffd3496987e91f599a135060ef49731e045ac.zip
mtd: do not use mtd->block_markbad directly
Instead, use the new 'mtd_can_have_bb()', or just rely on 'mtd_block_markbad()' return code, which will be -EOPNOTSUPP if bad blocks are not supported. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions