diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-18 10:31:42 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-18 10:31:42 -0400 |
commit | 588bb9dfff98de27e17ce0e92079c032f8dc5a21 (patch) | |
tree | 6ccd424450226987db38446f363ebb8edc196a14 /utils.h | |
parent | d25165e95c5c7d8f08f9abd974f706ae5ef25201 (diff) |
Add support for filesystem labels via mkfs.btrfs -L
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -21,7 +21,7 @@ #define BTRFS_MKFS_SYSTEM_GROUP_SIZE (4 * 1024 * 1024) -int make_btrfs(int fd, char *device_name, +int make_btrfs(int fd, char *device_name, char *label, u64 blocks[6], u64 num_bytes, u32 nodesize, u32 leafsize, u32 sectorsize, u32 stripesize); int btrfs_make_root_dir(struct btrfs_trans_handle *trans, @@ -29,8 +29,9 @@ int btrfs_make_root_dir(struct btrfs_trans_handle *trans, int btrfs_prepare_device(int fd, char *file, int zero_end, u64 *block_count_ret); int btrfs_add_to_fsid(struct btrfs_trans_handle *trans, - struct btrfs_root *root, int fd, u64 block_count, - u32 io_width, u32 io_align, u32 sectorsize); + struct btrfs_root *root, int fd, char *path, + u64 block_count, u32 io_width, u32 io_align, + u32 sectorsize); int btrfs_scan_for_fsid(struct btrfs_fs_devices *fs_devices, u64 total_devs, int run_ioctls); int btrfs_register_one_device(char *fname); |