Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22fc9db2 authored by Mike Marshall's avatar Mike Marshall
Browse files

orangefs: no need to check for service_operation returns > 0



service_operation returns > 0 is undefined.

Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
parent 34e6148a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {