소스 검색

GFS2: Fix uninitialised error value in previous patch

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Steven Whitehouse 15 년 전
부모
커밋
e06dfc4928
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;