nfsd: fix comparison to bool warning
Fixes coccicheck warning: fs/nfsd/nfs4proc.c:3234:5-29: WARNING: Comparison to bool Signed-off-by: Zheng Bin <zhengbin13@huawei.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
5aff7d0820
commit
44b49aa65f
|
@ -3231,7 +3231,7 @@ bool nfsd4_spo_must_allow(struct svc_rqst *rqstp)
|
|||
if (!cstate->minorversion)
|
||||
return false;
|
||||
|
||||
if (cstate->spo_must_allowed == true)
|
||||
if (cstate->spo_must_allowed)
|
||||
return true;
|
||||
|
||||
opiter = resp->opcnt;
|
||||
|
|
Loading…
Reference in New Issue