summaryrefslogtreecommitdiffstats
path: root/mm/filemap_xip.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2014-09-22 22:39:31 +0200
committerTyler Hicks <tyhicks@canonical.com>2014-10-06 23:54:50 +0200
commit0f9e2bf008a1b143973a01b52320eb66c20ac6ab (patch)
tree5bbdd526288d3c7e92dec46407f9341a5bf4e5dc /mm/filemap_xip.c
parentecryptfs: avoid to access NULL pointer when write metadata in xattr (diff)
downloadlinux-0f9e2bf008a1b143973a01b52320eb66c20ac6ab.tar.xz
linux-0f9e2bf008a1b143973a01b52320eb66c20ac6ab.zip
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 <khoroshilov@ispras.ru> Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Diffstat (limited to 'mm/filemap_xip.c')
0 files changed, 0 insertions, 0 deletions