xfs
[Top] [All Lists]

[XFS updates] XFS development tree branch, master, updated. v2.6.33-rc4-

To: xfs@xxxxxxxxxxx
Subject: [XFS updates] XFS development tree branch, master, updated. v2.6.33-rc4-59-gd67b1b0
From: xfs@xxxxxxxxxxx
Date: Sat, 13 Feb 2010 14:40:39 -0600
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, master has been updated
  d67b1b0 fs/xfs: Correct NULL test
      from  180040b89ee2aed88c0a0b1fcf7ada9a512b12e3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d67b1b03254c501fef371b0e5916c94a52bfc2c5
Author: Julia Lawall <julia@xxxxxxx>
Date:   Sat Feb 6 08:45:15 2010 +0000

    fs/xfs: Correct NULL test
    
    Test the value that was just allocated rather than the previously tested 
one.
    
    A simplified version of the semantic match that finds this problem is as
    follows: (http://coccinelle.lip6.fr/)
    
    // <smpl>
    @r@
    expression *x;
    expression e;
    identifier l;
    @@
    
    if (x == NULL || ...) {
        ... when forall
        return ...; }
    ... when != goto l;
        when != x = e
        when != &x
    *x == NULL
    // </smpl>
    
    Signed-off-by: Julia Lawall <julia@xxxxxxx>
    Reviewed-by: Christoph Hellwig <hch@xxxxxx>
    Signed-off-by: Alex Elder <aelder@xxxxxxx>

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

Summary of changes:
 fs/xfs/quota/xfs_qm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
XFS development tree

<Prev in Thread] Current Thread [Next in Thread>
  • [XFS updates] XFS development tree branch, master, updated. v2.6.33-rc4-59-gd67b1b0, xfs <=