diff options
author | Chris Mason <clm@fb.com> | 2015-04-06 13:17:20 -0700 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-04-10 14:07:04 -0700 |
commit | 4c6d1d85ad89fd8e32dc9204b7f944854399bda9 (patch) | |
tree | ec5dc4b06d46da31423f515b9d214d2fee98ad26 /fs/btrfs/ctree.h | |
parent | 3bce876fd58a745b8a1bc0bd8325c3e5b4cebeb0 (diff) |
btrfs: move struct io_ctl into ctree.h and rename it
We'll need to put the io_ctl into the block_group cache struct, so
name it struct btrfs_io_ctl and move it into ctree.h
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 6bf16d5134c5..e305ccd731fe 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -1256,6 +1256,17 @@ struct btrfs_caching_control { atomic_t count; }; +struct btrfs_io_ctl { + void *cur, *orig; + struct page *page; + struct page **pages; + struct btrfs_root *root; + unsigned long size; + int index; + int num_pages; + unsigned check_crcs:1; +}; + struct btrfs_block_group_cache { struct btrfs_key key; struct btrfs_block_group_item item; |