From: Dan Carpenter Date: Thu, 22 Apr 2010 10:05:35 +0000 (+0200) Subject: security: testing the wrong variable in create_by_name() X-Git-Tag: v2.6.34-rc6~73^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b338cc8207eae46640a8d534738fda7b5e48511d;p=pandora-kernel.git security: testing the wrong variable in create_by_name() There is a typo here. We should be testing "*dentry" instead of "dentry". If "*dentry" is an ERR_PTR, it gets dereferenced in either mkdir() or create() which would cause an OOPs. Signed-off-by: Dan Carpenter Signed-off-by: James Morris --- Reading git-diff-tree failed