mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 09:43:59 +08:00
btrfs: remove done label in writepage_delalloc
Since there is not common cleanup run after the label it makes it somewhat redundant. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
fd7fb634d6
commit
b69d1ee923
@ -3446,8 +3446,7 @@ static noinline_for_stack int writepage_delalloc(struct btrfs_inode *inode,
|
|||||||
* started, so we don't want to return > 0 unless
|
* started, so we don't want to return > 0 unless
|
||||||
* things are going well.
|
* things are going well.
|
||||||
*/
|
*/
|
||||||
ret = ret < 0 ? ret : -EIO;
|
return ret < 0 ? ret : -EIO;
|
||||||
goto done;
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* delalloc_end is already one less than the total length, so
|
* delalloc_end is already one less than the total length, so
|
||||||
@ -3479,10 +3478,7 @@ static noinline_for_stack int writepage_delalloc(struct btrfs_inode *inode,
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = 0;
|
return 0;
|
||||||
|
|
||||||
done:
|
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user