]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: remove the out label in __jbd2_journal_remove_checkpoint()
authorZhang Yi <yi.zhang@huawei.com>
Thu, 10 Jun 2021 11:24:33 +0000 (19:24 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 24 Jun 2021 14:33:06 +0000 (10:33 -0400)
commitfca78fbbccb3ff34a25532075de6113dd8ab3004
treee0adeb30fecb455b410b637f0ecf3023a49d5282
parentd403f0a149e474053aea702ae2f6bc216d5e6d64
jbd2: remove the out label in __jbd2_journal_remove_checkpoint()

The 'out' lable just return the 'ret' value and seems not required, so
remove this label and switch to return appropriate value immediately.
This patch also do some minor cleanup, no logical change.

Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20210610112440.3438139-2-yi.zhang@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/checkpoint.c