diff options
Diffstat (limited to 'fs/ceph/mon_client.h')
-rw-r--r-- | fs/ceph/mon_client.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ceph/mon_client.h b/fs/ceph/mon_client.h index 5ca8e48d4379..b958ad5afa06 100644 --- a/fs/ceph/mon_client.h +++ b/fs/ceph/mon_client.h | |||
@@ -2,7 +2,7 @@ | |||
2 | #define _FS_CEPH_MON_CLIENT_H | 2 | #define _FS_CEPH_MON_CLIENT_H |
3 | 3 | ||
4 | #include <linux/completion.h> | 4 | #include <linux/completion.h> |
5 | #include <linux/radix-tree.h> | 5 | #include <linux/rbtree.h> |
6 | 6 | ||
7 | #include "messenger.h" | 7 | #include "messenger.h" |
8 | #include "msgpool.h" | 8 | #include "msgpool.h" |
@@ -45,6 +45,7 @@ struct ceph_mon_request { | |||
45 | */ | 45 | */ |
46 | struct ceph_mon_statfs_request { | 46 | struct ceph_mon_statfs_request { |
47 | u64 tid; | 47 | u64 tid; |
48 | struct rb_node node; | ||
48 | int result; | 49 | int result; |
49 | struct ceph_statfs *buf; | 50 | struct ceph_statfs *buf; |
50 | struct completion completion; | 51 | struct completion completion; |
@@ -75,7 +76,7 @@ struct ceph_mon_client { | |||
75 | struct ceph_msgpool msgpool_auth_reply; | 76 | struct ceph_msgpool msgpool_auth_reply; |
76 | 77 | ||
77 | /* pending statfs requests */ | 78 | /* pending statfs requests */ |
78 | struct radix_tree_root statfs_request_tree; | 79 | struct rb_root statfs_request_tree; |
79 | int num_statfs_requests; | 80 | int num_statfs_requests; |
80 | u64 last_tid; | 81 | u64 last_tid; |
81 | 82 | ||