diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-09-19 10:25:49 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-10-21 12:39:51 +0100 |
commit | 891a8e9335176b7eb9adc5e34f555ee5e1da47c6 (patch) | |
tree | 61e52cad86ab0455f310478189f21722a785c16d /fs/gfs2/lops.c | |
parent | 64dd153c83743af81f20924c6343652d731eeecb (diff) |
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.c | 2 |
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++; } |