Logfs: Allow NULL block_isbad() methods
authorJoern Engel <joern@logfs.org>
Fri, 5 Aug 2011 09:09:55 +0000 (11:09 +0200)
committerPrasad Joshi <prasadjoshi.linux@gmail.com>
Sat, 28 Jan 2012 06:13:40 +0000 (11:43 +0530)
commitf2933e86ad93a8d1287079d59e67afd6f4166a9d
tree43aa0955e24127ca0e54546defa0e321365e35dc
parentbbe01387129f76fa4bec17904eb14c4bdc3c179f
Logfs: Allow NULL block_isbad() methods

Not all mtd drivers define block_isbad().  Let's assume no bad blocks
instead of refusing to mount.

Signed-off-by: Joern Engel <joern@logfs.org>
fs/logfs/dev_mtd.c