diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2008-05-12 14:02:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-13 08:02:23 -0700 |
commit | 8dc4e37362a5dc910d704d52ac6542bfd49ddc2f (patch) | |
tree | 22f9a2e074a7718c90747bc0458845f54468d4fc /fs/read_write.h | |
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>
Diffstat (limited to 'fs/read_write.h')
0 files changed, 0 insertions, 0 deletions