Skip to content
Commit 3b06b3eb authored by Tyler Hicks's avatar Tyler Hicks
Browse files

eCryptfs: Fix new inode race condition

Only unlock and d_add() new inodes after the plaintext inode size has
been read from the lower filesystem. This fixes a race condition that
was sometimes seen during a multi-job kernel build in an eCryptfs mount.

https://bugzilla.kernel.org/show_bug.cgi?id=36002



Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
Reported-by: default avatarDavid <david@unsolicited.net>
Tested-by: default avatarDavid <david@unsolicited.net>
parent 5ccf9203
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment