aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2021-07-27 14:59:41 +0200
committerDavid Sterba <dsterba@suse.com>2022-05-16 17:17:31 +0200
commitcb3a12d9885974a5f2afe0c3e9a752195401828f (patch)
tree2305a0fc8e5323dcf6d705c24509176e51a154fe /fs/btrfs/extent_io.h
parentbtrfs: rename io_failure_record::bio_flags to compress_type (diff)
downloadlinux-dev-cb3a12d9885974a5f2afe0c3e9a752195401828f.tar.xz
linux-dev-cb3a12d9885974a5f2afe0c3e9a752195401828f.zip
btrfs: rename bio_flags in parameters and switch type
Several functions take parameter bio_flags that was simplified to just compress type, unify it and change the type accordingly. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r--fs/btrfs/extent_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index 7774a48053fd..17674b7e699c 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -67,7 +67,7 @@ struct extent_io_tree;
typedef void (submit_bio_hook_t)(struct inode *inode, struct bio *bio,
int mirror_num,
- unsigned long bio_flags);
+ enum btrfs_compression_type compress_type);
typedef blk_status_t (extent_submit_bio_start_t)(struct inode *inode,
struct bio *bio, u64 dio_file_offset);