projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34e6148
)
orangefs: no need to check for service_operation returns > 0
author
Mike Marshall
<hubcap@omnibond.com>
Thu, 18 Oct 2018 18:05:46 +0000
(14:05 -0400)
committer
Mike Marshall
<hubcap@omnibond.com>
Thu, 18 Oct 2018 18:05:46 +0000
(14:05 -0400)
service_operation returns > 0 is undefined.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/namei.c
patch
|
blob
|
history
diff --git
a/fs/orangefs/namei.c
b/fs/orangefs/namei.c
index
f5cd707
..
c8676c9
100644
(file)
--- a/
fs/orangefs/namei.c
+++ b/
fs/orangefs/namei.c
@@
-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) {