Skip to content
Commit 6b520e05 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2a79f17e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment