staging: erofs: remove the redundant d_rehash() for the root dentry
authorGao Xiang <gaoxiang25@huawei.com>
Sat, 3 Nov 2018 09:23:56 +0000 (17:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2018 14:32:45 +0000 (15:32 +0100)
commite9c892465583c8f42d61fafe30970d36580925df
treedf78b43081d915c49c590afc8872d568ed99c8b3
parent3d49df58ab14e44bb622d467bc3ac02befe6aef4
staging: erofs: remove the redundant d_rehash() for the root dentry

There is actually no need at all to d_rehash() for the root dentry
as Al pointed out, fix it.

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/super.c