diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-04-12 10:43:05 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-04-12 10:43:05 -0400 |
commit | 8352d8a473ac84bf7a1c69690b626946d744ca58 (patch) | |
tree | 58686bb1de3d994a881d6176dafd7c16dfadeeca /fs/btrfs/disk-io.h | |
parent | 7eccb903a817e890c947ba4bc90c6a9af9b4219a (diff) |
Btrfs: add disk ioctl, mostly working
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 46cc5dc9d572..aa9f56c38419 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h | |||
@@ -42,4 +42,10 @@ int btrfs_csum_data(struct btrfs_root * root, char *data, size_t len, | |||
42 | struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info, | 42 | struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info, |
43 | struct btrfs_key *location); | 43 | struct btrfs_key *location); |
44 | u64 bh_blocknr(struct buffer_head *bh); | 44 | u64 bh_blocknr(struct buffer_head *bh); |
45 | int btrfs_insert_dev_radix(struct btrfs_root *root, | ||
46 | struct block_device *bdev, | ||
47 | u64 block_start, | ||
48 | u64 num_blocks); | ||
49 | int btrfs_map_bh_to_logical(struct btrfs_root *root, struct buffer_head *bh, | ||
50 | u64 logical); | ||
45 | #endif | 51 | #endif |