summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lops.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2011-09-19 11:25:49 +0200
committerSteven Whitehouse <swhiteho@redhat.com>2011-10-21 13:39:51 +0200
commit891a8e9335176b7eb9adc5e34f555ee5e1da47c6 (patch)
tree61e52cad86ab0455f310478189f21722a785c16d /fs/gfs2/lops.c
parentGFS2: rewrite fallocate code to write blocks directly (diff)
downloadlinux-891a8e9335176b7eb9adc5e34f555ee5e1da47c6.tar.xz
linux-891a8e9335176b7eb9adc5e34f555ee5e1da47c6.zip
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++;
}