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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux