From: Dan Carpenter Date: Fri, 7 May 2010 08:59:06 +0000 (+0200) Subject: logfs: handle errors from get_mtd_device() X-Git-Tag: v2.6.35-rc1~530^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccf31c10f125ab5233c8517f91d4b3bd0bd60936;p=pandora-kernel.git 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 Signed-off-by: Joern Engel --- Reading git-diff-tree failed