Commit 49a4aa06 authored by Liu Song's avatar Liu Song Committed by Yang Yingliang
Browse files

jbd2: remove repeated assignments in __jbd2_log_wait_for_space()



mainline inclusion
from mainline-5.2-rc1
commit fb203751
category: bugfix
bugzilla: 25031
CVE: NA
---------------------------

At the beginning, nblocks has been assigned. There is no need
to repeat the assignment in the while loop, and remove it.

Signed-off-by: default avatarLiu Song <liu.song11@zte.com.cn>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarJan Kara <jack@suse.cz>

Signed-off-by: default avatarzhangyi (F) <yi.zhang@huawei.com>
Reviewed-by: default avatarYang Erkun <yangerkun@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent ad68953d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment