Fixes coccicheck warning:

fs/cifs/cifsacl.c:371:6-49: WARNING: Comparison to bool

Signed-off-by: Zheng Bin <[email protected]>
---
 fs/cifs/cifsacl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/cifs/cifsacl.c b/fs/cifs/cifsacl.c
index fcff14ef1c70..9447ff1a5b6a 100644
--- a/fs/cifs/cifsacl.c
+++ b/fs/cifs/cifsacl.c
@@ -368,7 +368,7 @@ sid_to_id(struct cifs_sb_info *cifs_sb, struct cifs_sid 
*psid,
                else
                        is_group = false;

-               if (is_well_known_sid(psid, &unix_id, is_group) == false)
+               if (!is_well_known_sid(psid, &unix_id, is_group))
                        goto try_upcall_to_get_id;

                if (is_group) {
--
2.26.0.106.g9fadedd

Reply via email to