提交 045c5519 编写于 作者: A Anna Schumaker

NFS: Return the comparison result directly in nfs41_match_stateid()

Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
上级 49ad0145
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册