]> git.itanic.dy.fi Git - linux-stable/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)
commit214eb5a4d8a2032fb9f0711d1b202eb88ee02920
tree7a13fe369d5f3b351dae3f04af353244b43b8b0f
parent235d68069cbd158cb00835d434e9e9accf9a6dd4
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