Btrfs-progs: fix closing of opendir()
[platform/upstream/btrfs-progs.git] / send-utils.h
index 06af75f..ed1a40e 100644 (file)
@@ -38,10 +38,6 @@ enum subvol_search_type {
 };
 
 struct subvol_info {
-       struct rb_node rb_root_id_node;
-       struct rb_node rb_local_node;
-       struct rb_node rb_received_node;
-       struct rb_node rb_path_node;
        u64 root_id;
        u8 uuid[BTRFS_UUID_SIZE];
        u8 parent_uuid[BTRFS_UUID_SIZE];
@@ -55,10 +51,7 @@ struct subvol_info {
 };
 
 struct subvol_uuid_search {
-       struct rb_root root_id_subvols;
-       struct rb_root local_subvols;
-       struct rb_root received_subvols;
-       struct rb_root path_subvols;
+       int mnt_fd;
 };
 
 int subvol_uuid_search_init(int mnt_fd, struct subvol_uuid_search *s);