Browse Source

GFS2: Fix uninitialised error value in previous patch

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Steven Whitehouse 14 years ago
parent
commit
e06dfc4928
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/gfs2/bmap.c

+ 1 - 1
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;