git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64d032b
)
ecryptfs: clean up (un)lock_parent
author
Miklos Szeredi
<mszeredi@suse.cz>
Mon, 12 May 2008 21:02:04 +0000
(14:02 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 13 May 2008 15:02:23 +0000
(08:02 -0700)
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>
fs/ecryptfs/inode.c
patch
|
blob
|
history
diff --cc
fs/ecryptfs/inode.c
Simple merge