From: Dan Carpenter Date: Thu, 22 Apr 2010 10:00:52 +0000 (+0200) Subject: USB: fix testing the wrong variable in fs_create_by_name() X-Git-Tag: v2.6.34-rc7~38^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa7fe7af146a7b613e36a311eefbbfb5555325d1;p=pandora-kernel.git USB: fix testing the wrong variable in fs_create_by_name() There is a typo here. We should be testing "*dentry" which was just assigned instead of "dentry". This could result in dereferencing an ERR_PTR inside either usbfs_mkdir() or usbfs_create(). Signed-off-by: Dan Carpenter Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed