Explorar o código

GFS2: Fix uninitialised error value in previous patch

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Steven Whitehouse %!s(int64=15) %!d(string=hai) anos
pai
achega
e06dfc4928
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;