summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lops.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2011-09-19 10:25:49 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2011-10-21 12:39:51 +0100
commit891a8e9335176b7eb9adc5e34f555ee5e1da47c6 (patch)
tree61e52cad86ab0455f310478189f21722a785c16d /fs/gfs2/lops.c
parent64dd153c83743af81f20924c6343652d731eeecb (diff)
downloadlinux-891a8e9335176b7eb9adc5e34f555ee5e1da47c6.tar.bz2
GFS2: Misc fixes
Some items picked up through automated code analysis. A few bits of unreachable code and two unchecked return values. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r--fs/gfs2/lops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c
index de05b4d66ef3..0301be655b12 100644
--- a/fs/gfs2/lops.c
+++ b/fs/gfs2/lops.c
@@ -695,8 +695,6 @@ static int databuf_lo_scan_elements(struct gfs2_jdesc *jd, unsigned int start,
brelse(bh_log);
brelse(bh_ip);
- if (error)
- break;
sdp->sd_replayed_blocks++;
}