Details

[Home]

Issue of the Implementation # L0169

Brief

ecryptfs: unneeded buggy code in ecryptfs_do_create()

Detailed Description

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 we can just removes unneeded buggy code.

Component

linux-kernel 3.17

Accepted

https://lkml.org/lkml/2014/9/22/627
commit

Status

Fixed in kernel v3.18-rc1

[Home]