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)
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 2f9092e1.

Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>

No differences found