dcache: use IS_ROOT to decide where dentry is hashed