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>
Wed, 27 Feb 2019 09:09:02 +0000 (10:09 +0100)
commit398102f64acd2103e4ec49c74e2b6f7438988d16
tree058ff715081201410dfe43f1b8d781b6b4b539ca
parent017f7fd75b24e962f020eba68753ee3df3715595
staging: erofs: remove the redundant d_rehash() for the root dentry

commit e9c892465583c8f42d61fafe30970d36580925df upstream.

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