Commit cb5bc855 authored by wangyan's avatar wangyan Committed by Linus Torvalds
Browse files

ocfs2: there is no need to log twice in several functions



There is no need to log twice in several functions.

Signed-off-by: default avatarYan Wang <wangyan122@huawei.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarJun Piao <piaojun@huawei.com>
Acked-by: default avatarJoseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Link: http://lkml.kernel.org/r/77eec86a-f634-5b98-4f7d-0cd15185a37b@huawei.com


Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e0369873
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1060,7 +1060,6 @@ bail:
			brelse(bhs[i]);
			bhs[i] = NULL;
		}
		mlog_errno(status);
	}
	return status;
}
+0 −5
Original line number Diff line number Diff line
@@ -2509,9 +2509,6 @@ static int _ocfs2_free_suballoc_bits(handle_t *handle,

bail:
	brelse(group_bh);

	if (status)
		mlog_errno(status);
	return status;
}

@@ -2582,8 +2579,6 @@ static int _ocfs2_free_clusters(handle_t *handle,
					 num_clusters);

out:
	if (status)
		mlog_errno(status);
	return status;
}