]> git.baikalelectronics.ru Git - kernel.git/commit
jbd2: remove redundant buffer io error checks
authorZhang Yi <yi.zhang@huawei.com>
Thu, 10 Jun 2021 11:24:36 +0000 (19:24 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 24 Jun 2021 14:33:50 +0000 (10:33 -0400)
commitf95bffc036746d25a21d1ea86fed7fba9275ea4c
tree7a13fe369d5f3b351dae3f04af353244b43b8b0f
parent1ec7fd5cb70b1fba29916bfec52d631c5162ce46
jbd2: remove redundant buffer io error checks

Now that __jbd2_journal_remove_checkpoint() can detect buffer io error
and mark journal checkpoint error, then we abort the journal later
before updating log tail to ensure the filesystem works consistently.
So we could remove other redundant buffer io error checkes.

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