]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8d857cbd170237fbeef7c69a3659ac5447276db
treef34860861bc09231188565f88ba1f19e986b8fc1
parentfca6f1c16bd5a86d2d372779e917cedcf59c019a
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