• A
    vfs: fix the stupidity with i_dentry in inode destructors · 6b520e05
    Al Viro 提交于
    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: NAl Viro <viro@zeniv.linux.org.uk>
    6b520e05
hostfs_kern.c 20.5 KB