From: Sage Weil Date: Tue, 24 May 2011 20:06:05 +0000 (-0700) Subject: vfs: remove dget() from dentry_unhash() X-Git-Tag: v3.0-rc1~141^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64252c75a2196a0cf1e0d3777143ecfe0e3ae650;p=pandora-kernel.git vfs: remove dget() from dentry_unhash() 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed