GFS2: Fix uninitialised error value in previous patch
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 30 Nov 2010 15:46:02 +0000 (15:46 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 30 Nov 2010 15:46:02 +0000 (15:46 +0000)
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c

index ae7d205de0d1500a5dc783741c4e4541d770de66..3c4039d5eef12d1b35ffd93c3f1861e43cc9b520 100644 (file)
@@ -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;