mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 08:33:17 +02:00
btrfs: drop one time used local variable in end_bbio_meta_write()
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
075adeeb92
commit
b6160baed3
|
|
@ -1659,11 +1659,10 @@ static void end_bbio_meta_write(struct btrfs_bio *bbio)
|
|||
{
|
||||
struct extent_buffer *eb = bbio->private;
|
||||
struct btrfs_fs_info *fs_info = eb->fs_info;
|
||||
bool uptodate = !bbio->bio.bi_status;
|
||||
struct folio_iter fi;
|
||||
u32 bio_offset = 0;
|
||||
|
||||
if (!uptodate)
|
||||
if (bbio->bio.bi_status != BLK_STS_OK)
|
||||
set_btree_ioerr(eb);
|
||||
|
||||
bio_for_each_folio_all(fi, &bbio->bio) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user