commit | fa7fe7af146a7b613e36a311eefbbfb5555325d1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Thu Apr 22 12:00:52 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Apr 30 09:25:09 2010 -0700 |
tree | 354dc1cf91089c473d9e236518d97cf84adb1bf7 | |
parent | 1d0f11b39728099100a768cab2d7a90389017e75 [diff] |
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 <error27@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>