Skip to content
Commit 9f70968a authored by Mark Fasheh's avatar Mark Fasheh
Browse files

ocfs2: Re-order iput in ocfs2_drop_dentry_lock



Do this to avoid a theoretical (I haven't seen this in practice) race where
the downconvert thread might drop the dentry lock, allowing a remote unlink
to proceed before dropping the inode locks. This could bounce access to the
orphan dir between nodes.

There doesn't seem to be a need to do the same in ocfs2_dentry_iput() as
that's never called for the last ref drop from the downconvert thread.

Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 019d1b22
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment