Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: Adarsh Das <adarshdas950@gmail.com>
To: sfrench@samba.org, linkinjeon@kernel.org
Cc: pc@manguebit.org, ronniesahlberg@gmail.com,
	sprasad@microsoft.com, tom@talpey.com, bharathsm@microsoft.com,
	senozhatsky@chromium.org, linux-cifs@vger.kernel.org,
	linux-kernel@vger.kernel.org, Adarsh Das <adarshdas950@gmail.com>
Subject: [PATCH 0/2] smb: simplify boolean expressions
Date: Mon,  9 Feb 2026 23:24:19 +0530	[thread overview]
Message-ID: <20260209175421.66469-1-adarshdas950@gmail.com> (raw)

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


             reply	other threads:[~2026-02-09 17:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-09 17:54 Adarsh Das [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260209175421.66469-1-adarshdas950@gmail.com \
    --to=adarshdas950@gmail.com \
    --cc=bharathsm@microsoft.com \
    --cc=linkinjeon@kernel.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pc@manguebit.org \
    --cc=ronniesahlberg@gmail.com \
    --cc=senozhatsky@chromium.org \
    --cc=sfrench@samba.org \
    --cc=sprasad@microsoft.com \
    --cc=tom@talpey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox