[Cluster-devel] [PATCH 12/15] GFS2: Fix uninitialised error value in previous patch
Steven Whitehouse
swhiteho at redhat.com
Fri Dec 17 12:24:18 UTC 2010
Signed-off-by: Steven Whitehouse <swhiteho at redhat.com>
diff --git a/fs/gfs2/bmap.c b/fs/gfs2/bmap.c
index ae7d205..3c4039d 100644
--- a/fs/gfs2/bmap.c
+++ b/fs/gfs2/bmap.c
@@ -763,7 +763,7 @@ static int do_strip(struct gfs2_inode *ip, struct buffer_head *dibh,
int metadata;
unsigned int revokes = 0;
int x;
- int error;
+ int error = 0;
if (!*top)
sm->sm_first = 0;
--
1.7.3.3
More information about the Cluster-devel
mailing list