Commit e9c89246 authored by Gao Xiang's avatar Gao Xiang Committed by Greg Kroah-Hartman

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: 's avatarAl Viro <>
Cc: Al Viro <>
Signed-off-by: 's avatarGao Xiang <>
Signed-off-by: 's avatarGreg Kroah-Hartman <>
parent 3d49df58
......@@ -442,12 +442,6 @@ static int erofs_read_super(struct super_block *sb,
* We already have a positive dentry, which was instantiated
* by d_make_root. Just need to d_rehash it.
if (!silent)
infoln("mounted on %s with opts: %s.", dev_name,
(char *)data);
Markdown is supported
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