summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2015-08-14 13:33:05 +0300
committerDavid Sterba <dsterba@suse.com>2015-10-01 19:00:05 +0300
commitf190aa471a7a703444f6587ed79c24a04a22d848 (patch)
tree8c99d30f1758dc6fbe119e861678be511caf03b3 /fs/btrfs/volumes.h
parent097efc966ab3e2c3677698f4ab5b229bfff101dd (diff)
downloadlinux-f190aa471a7a703444f6587ed79c24a04a22d848.tar.xz
Btrfs: add helper for closing one device
Signed-off-by: Anand Jain <anand.jain@oracle.com> [reworded subject and changelog] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 8663bf7c5051..38450dc28837 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -547,5 +547,6 @@ static inline void unlock_chunks(struct btrfs_root *root)
struct list_head *btrfs_get_fs_uuids(void);
void btrfs_set_fs_info_ptr(struct btrfs_fs_info *fs_info);
void btrfs_reset_fs_info_ptr(struct btrfs_fs_info *fs_info);
+void btrfs_close_one_device(struct btrfs_device *device);
#endif