Dan Carpenter ccf31c10f1 logfs: handle errors from get_mtd_device()
The get_mtd_device() function returns error pointers on failure and if we
don't handle it, it leads to a crash.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Joern Engel <joern@logfs.org>
2010-05-07 14:16:09 +02:00
..
2009-11-20 20:13:39 +01:00
2010-04-05 11:37:28 +09:00
2010-05-07 14:15:04 +02:00
2010-05-05 22:33:36 +02:00
2009-11-20 20:13:39 +01:00
2010-03-06 10:03:11 +01:00
2009-11-20 20:13:39 +01:00
2010-05-05 22:32:52 +02:00