Skip to content
Commit 5ccf9203 authored by Tyler Hicks's avatar Tyler Hicks
Browse files

eCryptfs: Cleanup inode initialization code



The eCryptfs inode get, initialization, and dentry interposition code
has two separate paths. One is for when dentry interposition is needed
after doing things like a mkdir in the lower filesystem and the other
is needed after a lookup. Unlocking new inodes and doing a d_add() needs
to happen at different times, depending on which type of dentry
interposing is being done.

This patch cleans up the inode get and initialization code paths and
splits them up so that the locking and d_add() differences mentioned
above can be handled appropriately in a later patch.

Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
Tested-by: default avatarDavid <david@unsolicited.net>
parent c4f79073
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