From: Mark Fasheh Date: Thu, 18 Oct 2007 19:36:10 +0000 (-0700) Subject: ocfs2: Re-order iput in ocfs2_drop_dentry_lock X-Git-Tag: v2.6.24-rc3~176^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f70968af3e6e21612e06e153aa71c62dee5a09b;p=pandora-kernel.git 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: Mark Fasheh --- Reading git-diff-tree failed