summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/bmap.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2010-11-30 15:46:02 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2010-11-30 15:46:02 +0000
commite06dfc492870e1d380f02722cde084b724dc197b (patch)
tree8fca288f44f494b64ad9eaa2d09f5b23b1633a4d /fs/gfs2/bmap.c
parent086d8334cf73b3bb695b82dd864a7a8b00d96b7e (diff)
downloadop-kernel-dev-e06dfc492870e1d380f02722cde084b724dc197b.zip
op-kernel-dev-e06dfc492870e1d380f02722cde084b724dc197b.tar.gz
GFS2: Fix uninitialised error value in previous patch
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/bmap.c')
-rw-r--r--fs/gfs2/bmap.c2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud