diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2011-09-19 05:25:49 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2011-10-21 07:39:51 -0400 |
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, | |||
695 | 695 | ||
696 | brelse(bh_log); | 696 | brelse(bh_log); |
697 | brelse(bh_ip); | 697 | brelse(bh_ip); |
698 | if (error) | ||
699 | break; | ||
700 | 698 | ||
701 | sdp->sd_replayed_blocks++; | 699 | sdp->sd_replayed_blocks++; |
702 | } | 700 | } |