linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next 0/2] Simplify if-else condition for clean code
@ 2022-08-30 13:39 Zeng Heng
  2022-08-30 13:39 ` [PATCH -next 1/2] xfs: simplify if-else condition in xfs_validate_new_dalign Zeng Heng
  2022-08-30 13:39 ` [PATCH -next 2/2] xfs: simplify if-else condition in xfs_reflink_trim_around_shared Zeng Heng
  0 siblings, 2 replies; 5+ messages in thread
From: Zeng Heng @ 2022-08-30 13:39 UTC (permalink / raw)
  To: djwong; +Cc: linux-xfs, linux-kernel, zengheng4

Simplify if-else condition for clean code,
which makes them easier to understand.

Zeng Heng (2):
  xfs: simplify if-else condition in xfs_validate_new_dalign
  xfs: simplify if-else condition in xfs_reflink_trim_around_shared

 fs/xfs/xfs_mount.c   | 38 ++++++++++++++++++++------------------
 fs/xfs/xfs_reflink.c | 22 ++++++++++++----------
 2 files changed, 32 insertions(+), 28 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-08-30 15:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-30 13:39 [PATCH -next 0/2] Simplify if-else condition for clean code Zeng Heng
2022-08-30 13:39 ` [PATCH -next 1/2] xfs: simplify if-else condition in xfs_validate_new_dalign Zeng Heng
2022-08-30 15:19   ` Darrick J. Wong
2022-08-30 13:39 ` [PATCH -next 2/2] xfs: simplify if-else condition in xfs_reflink_trim_around_shared Zeng Heng
2022-08-30 15:12   ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).