提交 c7263bcd 编写于 作者: M Miklos Szeredi

fuse: readdirplus: cleanup

Niels noted that we don't need the 'dentry = NULL' line.
Signed-off-by: NMiklos Szeredi <mszeredi@suse.cz>
CC: Niels de Vos <ndevos@redhat.com>
上级 fa2b7213
......@@ -1263,7 +1263,6 @@ static int fuse_direntplus_link(struct file *file,
goto found;
}
dput(dentry);
dentry = NULL;
}
dentry = d_alloc(parent, &name);
......@@ -1299,8 +1298,7 @@ static int fuse_direntplus_link(struct file *file,
err = 0;
out:
if (dentry)
dput(dentry);
dput(dentry);
return err;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册