[XFS updates] XFS development tree branch, master, updated. v2.6.33-rc4-59-gd67b1b0
xfs at oss.sgi.com
xfs at oss.sgi.com
Sat Feb 13 14:40:39 CST 2010
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 at diku.dk>
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 at diku.dk>
Reviewed-by: Christoph Hellwig <hch at lst.de>
Signed-off-by: Alex Elder <aelder at sgi.com>
-----------------------------------------------------------------------
Summary of changes:
fs/xfs/quota/xfs_qm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
XFS development tree
More information about the xfs
mailing list