提交 dc7674ed 编写于 作者: B Bob Peterson

gfs2: tiny cleanup in gfs2_log_reserve

Function gfs2_log_reserve was setting revoke_blks to 0. There's no
need because it calculates it shortly thereafter. This patch removes
the unnecessary set.
Signed-off-by: NBob Peterson <rpeterso@redhat.com>
上级 69a61144
......@@ -594,7 +594,7 @@ void gfs2_log_reserve(struct gfs2_sbd *sdp, struct gfs2_trans *tr,
{
unsigned int blks = tr->tr_reserved;
unsigned int revokes = tr->tr_revokes;
unsigned int revoke_blks = 0;
unsigned int revoke_blks;
*extra_revokes = 0;
if (revokes) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册