]> git.baikalelectronics.ru Git - kernel.git/commit
eCryptfs: Lock lower directory inode mutex during lookup
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>
Wed, 22 Apr 2009 21:27:12 +0000 (16:27 -0500)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Wed, 22 Apr 2009 21:27:12 +0000 (16:27 -0500)
commit3a7f92cd9c3695fa7098b49e84f0e6e81b052b3e
treeeeedcd559c8add0b8ebc87489f8daf78258d59a1
parent0153045fa08a0e2b8babb4017bb2ee1db28d05a0
eCryptfs: Lock lower directory inode mutex during lookup

This patch locks the lower directory inode's i_mutex before calling
lookup_one_len() to find the appropriate dentry in the lower filesystem.
This bug was found thanks to the warning set in commit 7e7fa649.

Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/inode.c