From: Alexey Khoroshilov Date: Mon, 22 Sep 2014 20:39:31 +0000 (+0400) Subject: ecryptfs: remove unneeded buggy code in ecryptfs_do_create() X-Git-Tag: omap-for-v3.19/prcm-cleanup~119^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f9e2bf008a1b143973a01b52320eb66c20ac6ab;p=pandora-kernel.git ecryptfs: remove unneeded buggy code in ecryptfs_do_create() There is a bug in error handling of lock_parent() in ecryptfs_do_create(): lock_parent() acquries mutex even if dget_parent() fails, so mutex should be unlocked anyway. But dget_parent() does not fail, so the patch just removes unneeded buggy code. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed