diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-04-27 15:37:41 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-06-08 15:53:34 +0200 |
| commit | 395c42ba3d940930454c43b0d5fa2e37d27c59be (patch) | |
| tree | a6afffe8b8424a1f04ec2df24e385baddddf37ce /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | e7c3cfb54487d0384625ad724fbf8beb3dae35af (diff) | |
btrfs: remove redundant writeback error check during fsync
If we can skip logging the inode during fsync, we check for writeback
errors in the inode's mapping by calling filemap_check_wb_err() and then
jump to the 'out_release_extents' label, which in turn jumps to the 'out'
label under which we check again for a writeback error by calling
file_check_and_advance_wb_err(). So the filemap_check_wb_err() ends up
being redundant. This happens since commit 333427a505be ("btrfs: minimal
conversion to errseq_t writeback error reporting on fsync").
Remove the filemap_check_wb_err() call.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
