Linux CIFS filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] smb: simplify boolean expressions
@ 2026-02-09 17:54 Adarsh Das
  2026-02-09 17:54 ` [PATCH 1/2] smb: remove redundant == true comparisons Adarsh Das
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Adarsh Das @ 2026-02-09 17:54 UTC (permalink / raw)
  To: sfrench, linkinjeon
  Cc: pc, ronniesahlberg, sprasad, tom, bharathsm, senozhatsky,
	linux-cifs, linux-kernel, Adarsh Das

This series simplifies boolean expressions in the SMB code by removing
redundant comparisons with true/false.

Adarsh Das (2):
  smb: remove redundant == true comparisons
  smb: remove redundant == false comparisons

 fs/smb/client/cifsacl.c        |  2 +-
 fs/smb/client/connect.c        |  6 ++---
 fs/smb/client/file.c           |  5 ++--
 fs/smb/client/fs_context.c     |  6 ++---
 fs/smb/client/misc.c           |  2 +-
 fs/smb/client/smb2misc.c       |  4 ++--
 fs/smb/client/smb2ops.c        | 12 +++++-----
 fs/smb/client/smb2pdu.c        |  2 +-
 fs/smb/client/transport.c      |  2 +-
 fs/smb/server/oplock.c         |  6 ++---
 fs/smb/server/server.c         |  2 +-
 fs/smb/server/smb2misc.c       |  2 +-
 fs/smb/server/smb2pdu.c        | 44 ++++++++++++++++------------------
 fs/smb/server/smb_common.c     |  2 +-
 fs/smb/server/transport_rdma.c |  2 +-
 fs/smb/server/vfs.c            |  8 +++----
 fs/smb/server/vfs_cache.c      |  6 ++---
 17 files changed, 55 insertions(+), 58 deletions(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-12 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-09 17:54 [PATCH 0/2] smb: simplify boolean expressions Adarsh Das
2026-02-09 17:54 ` [PATCH 1/2] smb: remove redundant == true comparisons Adarsh Das
2026-02-09 17:54 ` [PATCH 2/2] smb: remove redundant == false comparisons Adarsh Das
2026-02-12 21:55 ` [PATCH 0/2] smb: simplify boolean expressions Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox