diff options
author | Christoph Hellwig <[email protected]> | 2022-06-17 12:04:11 +0200 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-07-25 17:45:40 +0200 |
commit | 82443fd55c5adb0643f28fb7576a8605d0d41485 (patch) | |
tree | bf33770253e9d1b26b1cf207923bb7e7af237b18 /net/lapb/lapb_subr.c | |
parent | b9af128d1e81645e7d9030e30def06ea5032f201 (diff) |
btrfs: simplify sync/async submission in btrfs_submit_data_write_bio
btrfs_submit_data_write_bio special cases the reloc root because the
checksums are preloaded, but only does so for the !sync case. The sync
case can't happen for data relocation, but just handling it more generally
significantly simplifies the logic.
Reviewed-by: Nikolay Borisov <[email protected]>
Tested-by: Nikolay Borisov <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions