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:
4829369
)
vfs: remove dget() from dentry_unhash()
author
Sage Weil
<sage@newdream.net>
Tue, 24 May 2011 20:06:05 +0000
(13:06 -0700)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 26 May 2011 11:26:46 +0000
(07:26 -0400)
This serves no useful purpose that I can discern. All callers (rename,
rmdir) hold their own reference to the dentry.
A quick audit of all file systems showed no relevant checks on the value
of d_count in vfs_rmdir/vfs_rename_dir paths.
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
No differences found