[PATCH -next 0/2] Simplify if-else condition for clean code

Zeng Heng posted 2 patches 3 years, 7 months ago
fs/xfs/xfs_mount.c   | 38 ++++++++++++++++++++------------------
fs/xfs/xfs_reflink.c | 22 ++++++++++++----------
2 files changed, 32 insertions(+), 28 deletions(-)
[PATCH -next 0/2] Simplify if-else condition for clean code
Posted by Zeng Heng 3 years, 7 months ago
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