提交 22fc9db2 编写于 作者: M Mike Marshall

orangefs: no need to check for service_operation returns > 0

service_operation returns > 0 is undefined.
Signed-off-by: NMike Marshall <hubcap@omnibond.com>
上级 34e6148a
......@@ -157,7 +157,7 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry,
new_op->downcall.resp.lookup.refn.fs_id,
ret);
if (ret >= 0) {
if (ret == 0) {
orangefs_set_timeout(dentry);
inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn);
} else if (ret == -ENOENT) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册