From: Al Viro Date: Mon, 12 Dec 2011 20:51:45 +0000 (-0500) Subject: vfs: fix the stupidity with i_dentry in inode destructors X-Git-Tag: v3.3-rc1~170^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b520e0565422966cdf1c3759bd73df77b0f248c;p=pandora-kernel.git vfs: fix the stupidity with i_dentry in inode destructors Seeing that just about every destructor got that INIT_LIST_HEAD() copied into it, there is no point whatsoever keeping this INIT_LIST_HEAD in inode_init_once(); the cost of taking it into inode_init_always() will be negligible for pipes and sockets and negative for everything else. Not to mention the removal of boilerplate code from ->destroy_inode() instances... Signed-off-by: Al Viro --- Reading git-diff-tree failed