diff options
| author | Christoph Hellwig <[email protected]> | 2022-11-15 09:44:05 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-12-05 17:00:57 +0000 |
| commit | 103c19723c80bf74e4e70cd6cde3b8783a27aceb (patch) | |
| tree | 2a78636927002cbb72c58a4ef811dca8a362f7c3 /fs/btrfs/extent_io.c | |
| parent | btrfs: move struct btrfs_tree_parent_check out of disk-io.h (diff) | |
| download | kernel-103c19723c80bf74e4e70cd6cde3b8783a27aceb.tar.gz kernel-103c19723c80bf74e4e70cd6cde3b8783a27aceb.zip | |
btrfs: split the bio submission path into a separate file
The code used by btrfs_submit_bio only interacts with the rest of
volumes.c through __btrfs_map_block (which itself is a more generic
version of two exported helpers) and does not really have anything
to do with volumes.c. Create a new bio.c file and a bio.h header
going along with it for the btrfs_bio-based storage layer, which
will grow even more going forward.
Also update the file with my copyright notice given that a large
part of the moved code was written or rewritten by me.
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/extent_io.c')
| -rw-r--r-- | fs/btrfs/extent_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 65ba5c3658cf..95d54b5834c0 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -20,7 +20,7 @@ #include "extent_map.h" #include "ctree.h" #include "btrfs_inode.h" -#include "volumes.h" +#include "bio.h" #include "check-integrity.h" #include "locking.h" #include "rcu-string.h" |
