Skip to content

fs/9p: 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 In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8fs/9p: Deletion of unnecessary checks before the function call "p9_client_clunk"fs/9p/vfs_dir.c fs/9p/vfs_inode.c fs/9p/vfs_inode_dotl.c +1 more+11 -2212 replies
2/8fs/9p: One function call less in v9fs_create() after error detectionfs/9p/vfs_inode.c+6 -60 replies
3/8fs/9p: One function call less in v9fs_vfs_atomic_open() after error detectionfs/9p/vfs_inode.c+1 -20 replies
4/8fs/9p: One function call less in v9fs_fid_xattr_get() after error detectionfs/9p/xattr.c+1 -20 replies
5/8fs/9p: One function call less in v9fs_vfs_atomic_open_dotl() after error detectionfs/9p/vfs_inode_dotl.c+3 -40 replies
6/8fs/9p: Less function calls in v9fs_vfs_mkdir_dotl() after error detectionfs/9p/vfs_inode_dotl.c+5 -60 replies
7/8fs/9p: One function call less in v9fs_vfs_symlink_dotl() after error detectionfs/9p/vfs_inode_dotl.c+3 -40 replies
8/8fs/9p: Less function calls in v9fs_vfs_mknod_dotl() after error detectionfs/9p/vfs_inode_dotl.c+6 -60 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/8] fs/9p: Deletion of some unnecessary checks

From: Markus Elfring <[email protected]>
Date: Sun, 28 Dec 2014 14:50:08 +0100

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

Markus Elfring (8):
Deletion of unnecessary checks before the function call "p9_client_clunk" One function call less in v9fs_create() after error detection One function call less in v9fs_vfs_atomic_open() after error detection One function call less in v9fs_fid_xattr_get() after error detection One function call less in v9fs_vfs_atomic_open_dotl() after error detection Less function calls in v9fs_vfs_mkdir_dotl() after error detection One function call less in v9fs_vfs_symlink_dotl() after error detection Less function calls in v9fs_vfs_mknod_dotl() after error detection

 fs/9p/vfs_dir.c        |  3 +--
 fs/9p/vfs_inode.c      | 25 ++++++++++--------------
 fs/9p/vfs_inode_dotl.c | 52 +++++++++++++++++++++-----------------------------
 fs/9p/xattr.c          |  6 ++----
 4 files changed, 35 insertions(+), 51 deletions(-)
Signature · 1 line
2.2.1