diff options
-rw-r--r-- | fs/ocfs2/buffer_head_io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ocfs2/buffer_head_io.c b/fs/ocfs2/buffer_head_io.c index 5b704c63a103..1edcb141f639 100644 --- a/fs/ocfs2/buffer_head_io.c +++ b/fs/ocfs2/buffer_head_io.c | |||
@@ -90,7 +90,6 @@ int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, | |||
90 | * information for this bh as it's not marked locally | 90 | * information for this bh as it's not marked locally |
91 | * uptodate. */ | 91 | * uptodate. */ |
92 | ret = -EIO; | 92 | ret = -EIO; |
93 | put_bh(bh); | ||
94 | mlog_errno(ret); | 93 | mlog_errno(ret); |
95 | } | 94 | } |
96 | 95 | ||
@@ -420,7 +419,6 @@ int ocfs2_write_super_or_backup(struct ocfs2_super *osb, | |||
420 | 419 | ||
421 | if (!buffer_uptodate(bh)) { | 420 | if (!buffer_uptodate(bh)) { |
422 | ret = -EIO; | 421 | ret = -EIO; |
423 | put_bh(bh); | ||
424 | mlog_errno(ret); | 422 | mlog_errno(ret); |
425 | } | 423 | } |
426 | 424 | ||