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.27.47~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d130b918879aa06a82cfac3bec5ec88e79a05f30;p=pandora-kernel.git USB: fix testing the wrong variable in fs_create_by_name() commit fa7fe7af146a7b613e36a311eefbbfb5555325d1 upstream. 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed