aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/messenger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index 0e4536cc46f0..459e55280bf8 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -95,6 +95,7 @@ static __inline__ bool ceph_msg_data_type_valid(enum ceph_msg_data_type type)
95} 95}
96 96
97struct ceph_msg_data_cursor { 97struct ceph_msg_data_cursor {
98 size_t resid; /* bytes not yet consumed */
98 bool last_piece; /* now at last piece of data item */ 99 bool last_piece; /* now at last piece of data item */
99 union { 100 union {
100#ifdef CONFIG_BLOCK 101#ifdef CONFIG_BLOCK
@@ -105,7 +106,6 @@ struct ceph_msg_data_cursor {
105 }; 106 };
106#endif /* CONFIG_BLOCK */ 107#endif /* CONFIG_BLOCK */
107 struct { /* pages */ 108 struct { /* pages */
108 size_t resid; /* bytes from array */
109 unsigned int page_offset; /* offset in page */ 109 unsigned int page_offset; /* offset in page */
110 unsigned short page_index; /* index in array */ 110 unsigned short page_index; /* index in array */
111 unsigned short page_count; /* pages in array */ 111 unsigned short page_count; /* pages in array */