diff options
Diffstat (limited to 'include/linux/ceph')
| -rw-r--r-- | include/linux/ceph/messenger.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index 318da0170a1e..de1d2e1ecce2 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h | |||
| @@ -108,7 +108,10 @@ struct ceph_msg_data { | |||
| 108 | }; | 108 | }; |
| 109 | 109 | ||
| 110 | struct ceph_msg_data_cursor { | 110 | struct ceph_msg_data_cursor { |
| 111 | struct ceph_msg_data *data; /* data item this describes */ | 111 | size_t total_resid; /* across all data items */ |
| 112 | struct list_head *data_head; /* = &ceph_msg->data */ | ||
| 113 | |||
| 114 | struct ceph_msg_data *data; /* current data item */ | ||
| 112 | size_t resid; /* bytes not yet consumed */ | 115 | size_t resid; /* bytes not yet consumed */ |
| 113 | bool last_piece; /* current is last piece */ | 116 | bool last_piece; /* current is last piece */ |
| 114 | bool need_crc; /* crc update needed */ | 117 | bool need_crc; /* crc update needed */ |
