commit | 8dc4e37362a5dc910d704d52ac6542bfd49ddc2f | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Mon May 12 14:02:04 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue May 13 08:02:23 2008 -0700 |
tree | 22f9a2e074a7718c90747bc0458845f54468d4fc | |
parent | 64d032ba434ad41586460811148f01511e5612f9 [diff] |
ecryptfs: clean up (un)lock_parent dget(dentry->d_parent) --> dget_parent(dentry) unlock_parent() is racy and unnecessary. Replace single caller with unlock_dir(). There are several other suspect uses of ->d_parent in ecryptfs... Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: Michael Halcrow <mhalcrow@us.ibm.com> Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>