Skip to content

ocfs2: Deletion of some unnecessary checks

SF Markus Elfring acpica-devel alsa-devel ath10k ath9k-devel backports batman ceph-devel cluster-devel cocci dm-devel dri-devel ecryptfs intel-gfx kernel-janitors kvm linux-acpi linux-arm-kernel linux-arm-msm linux-audit linux-bcache linux-block linux-bluetooth linux-btrfs linux-crypto linux-devicetree linux-ext4 linux-f2fs-devel linux-fbdev linux-fsdevel linux-gpio linux-hwmon linux-ia64 linux-ide linux-input linux-iommu linux-kbuild linux-media linux-mediatek linux-mm linux-mtd linux-nfs linux-nilfs linux-nvdimm linux-omap linux-parisc linux-pci linux-pm linux-ppp linux-pwm linux-raid linux-rdma linux-rockchip linux-s390 linux-samsung-soc linux-scsi linux-sctp linux-sh linux-spi linux-tegra linux-wireless linux-wpan linux-xfs linuxppc-dev lkml lustre-devel lvs-devel netdev netfilter-devel nouveau nvdimm ocfs2-devel platform-driver-x86 virtualization xen-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ocfs2: Deletion of unnecessary checks before three function callsfs/ocfs2/alloc.c fs/ocfs2/slot_map.c fs/ocfs2/stack_user.c+7 -140 replies
2/7ocfs2: Less function calls in ocfs2_convert_inline_data_to_extents() after error detectionfs/ocfs2/alloc.c+3 -20 replies
3/7ocfs2: Less function calls in ocfs2_figure_merge_contig_type() after error detectionfs/ocfs2/alloc.c+13 -110 replies
4/7ocfs2: One function call less in ocfs2_merge_rec_left() after error detectionfs/ocfs2/alloc.c+1 -10 replies
5/7ocfs2: One function call less in ocfs2_merge_rec_right() after error detectionfs/ocfs2/alloc.c+1 -10 replies
6/7ocfs2: One function call less in ocfs2_init_slot_info() after error detectionfs/ocfs2/slot_map.c+1 -10 replies
7/7ocfs2: One function call less in user_cluster_connect() after error detectionfs/ocfs2/stack_user.c+2 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] ocfs2: Deletion of some unnecessary checks

From: Markus Elfring <[email protected]>
Date: Sat, 21 Feb 2015 20:15:16 +0100

Further update suggestions were taken into account after a patch was applied from static source code analysis.

Markus Elfring (7):
Deletion of unnecessary checks before three function calls Less function calls in ocfs2_convert_inline_data_to_extents()
after error detection
Less function calls in ocfs2_figure_merge_contig_type()
after error detection
One function call less in ocfs2_merge_rec_left()
after error detection
One function call less in ocfs2_merge_rec_right()
after error detection
One function call less in ocfs2_init_slot_info()
after error detection
One function call less in user_cluster_connect()
after error detection

 fs/ocfs2/alloc.c      | 48 ++++++++++++++++++++++--------------------------
 fs/ocfs2/slot_map.c   |  4 ++--
 fs/ocfs2/stack_user.c |  8 +++-----
 3 files changed, 27 insertions(+), 33 deletions(-)
Signature · 1 line
2.3.0