logfs: do not use 'mtd->block_isbad' directly
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 2 Jan 2012 11:52:14 +0000 (13:52 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:26:25 +0000 (18:26 +0000)
commitd58b27ed58a30faf376e40d19945f34301944b8d
treef34860861bc09231188565f88ba1f19e986b8fc1
parent8f461a730242c528ca221948edceca49266a3ffb
logfs: do not use 'mtd->block_isbad' directly

Instead, use the new 'mtd_can_have_bb()' helper.

Cc: Jörn Engel <joern@logfs.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/logfs/dev_mtd.c