]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Btrfs: introduce btrfs_get_fs_uuids to get fs_uuids
authorAnand Jain <anand.jain@oracle.com>
Mon, 9 Mar 2015 22:38:30 +0000 (06:38 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 May 2015 10:27:20 +0000 (12:27 +0200)
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/volumes.c
fs/btrfs/volumes.h

index 39ff99e4b5a6653df3e9ba606683ac95c831ee07..e500bfa54dc9bfa7cbaae08ef9f052f0e7cff1c8 100644 (file)
@@ -52,6 +52,10 @@ static void btrfs_dev_stat_print_on_load(struct btrfs_device *device);
 
 DEFINE_MUTEX(uuid_mutex);
 static LIST_HEAD(fs_uuids);
+struct list_head *btrfs_get_fs_uuids(void)
+{
+       return &fs_uuids;
+}
 
 static struct btrfs_fs_devices *__alloc_fs_devices(void)
 {
index e9780e9e6d97f6961558fc5c38b34c65d9ccc80b..ac7e938c6977593e498cd7646cfef124cdd4095a 100644 (file)
@@ -542,5 +542,6 @@ static inline void unlock_chunks(struct btrfs_root *root)
        mutex_unlock(&root->fs_info->chunk_mutex);
 }
 
+struct list_head *btrfs_get_fs_uuids(void);
 
 #endif