[XFS updates] XFS development tree branch, xfs-coccinelle-cleanups, created. v3.18-rc2-4-gd254aae

xfs at oss.sgi.com xfs at oss.sgi.com
Sun Nov 30 18:30:11 CST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "XFS development tree".

The branch, xfs-coccinelle-cleanups has been created
        at  d254aaec5d1aa2997dad035db340c298eaa8d089 (commit)

- Log -----------------------------------------------------------------
commit d254aaec5d1aa2997dad035db340c298eaa8d089
Author: kbuild test robot <fengguang.wu at intel.com>
Date:   Mon Dec 1 08:42:52 2014 +1100

    xfs: fix simple_return.cocci warning in xfs_bmse_shift_one
    
    fs/xfs/libxfs/xfs_bmap.c:5591:1-6: WARNING: end returns can be simpified
    
     Simplify a trivial if-return sequence.  Possibly combine with a
     preceding function call.
    Generated by: scripts/coccinelle/misc/simple_return.cocci
    
    CC: Brian Foster <bfoster at redhat.com>
    Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>

commit 8300475ebf03a54ec3c56b6b808ccbd9e1bc320d
Author: kbuild test robot <fengguang.wu at intel.com>
Date:   Mon Dec 1 08:25:28 2014 +1100

    xfs: fix simple_return.cocci warning in xfs_file_readdir
    
    fs/xfs/xfs_file.c:919:1-6: WARNING: end returns can be simpified and declaration on line 902 can be dropped
    
     Simplify a trivial if-return sequence.  Possibly combine with a
     preceding function call.
    Generated by: scripts/coccinelle/misc/simple_return.cocci
    
    Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
    Reviewed-by: Dave Chinner <dchinner at redhat.com>
    Signed-off-by: Dave Chinner <david at fromorbit.com>

commit b72091f2fb28fb9e2746010b54d6cc3c27924e6c
Author: kbuild test robot <fengguang.wu at intel.com>
Date:   Mon Dec 1 08:24:58 2014 +1100

    libxfs: fix simple_return.cocci warnings
    
    fs/xfs/libxfs/xfs_ialloc.c:1141:1-6: WARNING: end returns can be simpified
    
     Simplify a trivial if-return sequence.  Possibly combine with a
     preceding function call.
    Generated by: scripts/coccinelle/misc/simple_return.cocci
    
    Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
    Reviewed-by: Dave Chinner <dchinner at redhat.com>
    Signed-off-by: Dave Chinner <david at fromorbit.com>

commit d2a5e3c6fccb25234a594bacb056e0b3974faf49
Author: Markus Elfring <elfring at users.sourceforge.net>
Date:   Mon Dec 1 08:24:20 2014 +1100

    xfs: remove unnecessary null checks
    
    The functions xfs_blkdev_put() and xfs_qm_dqrele() test whether
    their argument is NULL and then return immediately.  Thus the test
    around the call is not needed.
    
    This issue was detected by using the Coccinelle software.
    
    Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>
    Reviewed-by: Dave Chinner <dchinner at redhat.com>
    Signed-off-by: Dave Chinner <david at fromorbit.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
XFS development tree



More information about the xfs mailing list