From: Sachin Prabhu Date: Mon, 5 Nov 2012 11:39:32 +0000 (+0000) Subject: cifs: Do not lookup hashed negative dentry in cifs_atomic_open X-Git-Tag: v3.7-rc5~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3798f47aa276b332c30da499cb4df4577e2f8872;p=pandora-kernel.git cifs: Do not lookup hashed negative dentry in cifs_atomic_open We do not need to lookup a hashed negative directory since we have already revalidated it before and have found it to be fine. This also prevents a crash in cifs_lookup() when it attempts to rehash the already hashed negative lookup dentry. The patch has been tested using the reproducer at https://bugzilla.redhat.com/show_bug.cgi?id=867344#c28 Cc: # 3.6.x Reported-by: Vit Zahradka Signed-off-by: Sachin Prabhu --- Reading git-diff-tree failed