]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: remove repeated assignments in __jbd2_log_wait_for_space()
authorLiu Song <liu.song11@zte.com.cn>
Sat, 6 Apr 2019 22:14:17 +0000 (18:14 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 6 Apr 2019 22:14:17 +0000 (18:14 -0400)
commitd4c191c72eb5803fecbeae38fc76436cfd433e33
tree5a020b9f6978968602c71f9ae952a807e4539b41
parentb7a31ea379e672048cd04255d27306c97d980b41
jbd2: remove repeated assignments in __jbd2_log_wait_for_space()

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: Liu Song <liu.song11@zte.com.cn>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/jbd2/checkpoint.c