summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index bf014a2deefd..aeaa6678b071 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -9116,10 +9116,8 @@ static bool nfs41_match_stateid(const nfs4_stateid *s1,
9116 9116
9117 if (s1->seqid == s2->seqid) 9117 if (s1->seqid == s2->seqid)
9118 return true; 9118 return true;
9119 if (s1->seqid == 0 || s2->seqid == 0)
9120 return true;
9121 9119
9122 return false; 9120 return s1->seqid == 0 || s2->seqid == 0;
9123} 9121}
9124 9122
9125#endif /* CONFIG_NFS_V4_1 */ 9123#endif /* CONFIG_NFS_V4_1 */