summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2021-07-27 15:59:41 +0300
committerDavid Sterba <dsterba@suse.com>2022-05-16 18:17:31 +0300
commitcb3a12d9885974a5f2afe0c3e9a752195401828f (patch)
tree2305a0fc8e5323dcf6d705c24509176e51a154fe /fs/btrfs/extent_io.h
parent0ff400135b2a11b4a565f4d631f7f4ea55a25a99 (diff)
downloadlinux-cb3a12d9885974a5f2afe0c3e9a752195401828f.tar.xz
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);