diff options
| author | Bart Van Assche <[email protected]> | 2022-07-14 18:07:16 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-07-14 18:14:32 +0000 |
| commit | bf9486d6dd2351f6cfff9a8df87657a1248a918d (patch) | |
| tree | 0b4b11f34d141e1f8c5e3f0f14f7a79636fb2032 /fs/btrfs/compression.h | |
| parent | fs/mpage: Use the new blk_opf_t type (diff) | |
| download | kernel-bf9486d6dd2351f6cfff9a8df87657a1248a918d.tar.gz kernel-bf9486d6dd2351f6cfff9a8df87657a1248a918d.zip | |
fs/btrfs: Use the enum req_op and blk_opf_t types
Improve static type checking by using the enum req_op type for variables
that represent a request operation and the new blk_opf_t type for
variables that represent request flags.
Acked-by: David Sterba <[email protected]>
Cc: Josef Bacik <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/compression.h')
| -rw-r--r-- | fs/btrfs/compression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/compression.h b/fs/btrfs/compression.h index 2707404389a5..2b56d63e01ce 100644 --- a/fs/btrfs/compression.h +++ b/fs/btrfs/compression.h @@ -99,7 +99,7 @@ blk_status_t btrfs_submit_compressed_write(struct btrfs_inode *inode, u64 start, unsigned int compressed_len, struct page **compressed_pages, unsigned int nr_pages, - unsigned int write_flags, + blk_opf_t write_flags, struct cgroup_subsys_state *blkcg_css, bool writeback); void btrfs_submit_compressed_read(struct inode *inode, struct bio *bio, |
