vfs: fix the stupidity with i_dentry in inode destructors
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 12 Dec 2011 20:51:45 +0000 (15:51 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:52:40 +0000 (22:52 -0500)
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 <viro@zeniv.linux.org.uk>

No differences found