diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-18 10:45:17 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-18 10:45:17 -0400 |
commit | 0e08036ee4292cb230ce3fb8b8c59407faac7747 (patch) | |
tree | fe0755f4ff584578b663e96d4b226b98a4e2099a /utils.h | |
parent | 734603d9272da5a54c5aa0d688a63193e102fc28 (diff) |
Add checks to avoid adding the same device twice during mkfs
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,4 +37,6 @@ int btrfs_scan_for_fsid(struct btrfs_fs_devices *fs_devices, u64 total_devs, int btrfs_register_one_device(char *fname); int btrfs_scan_one_dir(char *dirname, int run_ioctl); int check_mounted(char *devicename); +int btrfs_device_already_in_root(struct btrfs_root *root, int fd, + int super_offset); #endif |