projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49ad014
)
NFS: Return the comparison result directly in nfs41_match_stateid()
author
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Wed, 11 Jan 2017 21:59:48 +0000
(16:59 -0500)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Mon, 30 Jan 2017 18:14:50 +0000
(13:14 -0500)
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index bf014a2deefd70a042bced793dc27a4871bce3ba..aeaa6678b071e246340eecc838a6631d2aba9084 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-9116,10
+9116,8
@@
static bool nfs41_match_stateid(const nfs4_stateid *s1,
if (s1->seqid == s2->seqid)
return true;
- if (s1->seqid == 0 || s2->seqid == 0)
- return true;
- return
false
;
+ return
s1->seqid == 0 || s2->seqid == 0
;
}
#endif /* CONFIG_NFS_V4_1 */