aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-12 00:34:23 -0400
committerSage Weil <sage@inktank.com>2013-05-02 00:17:33 -0400
commit859a35d5523e8e6a5c3568c12febe2e1270bc3a1 (patch)
tree0aab4623ec39fd01e229c24a97f04a46e9179efd /include/linux/ceph
parent643c68a4a990612720479078f3450d5b766da9f2 (diff)
libceph: kill most of ceph_msg_pos
All but one of the fields in the ceph_msg_pos structure are now never used (only assigned), so get rid of them. This allows several small blocks of code to go away. This is cleanup of old code related to: http://tracker.ceph.com/issues/4428 Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r--include/linux/ceph/messenger.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h
index af786b29f7a4..c76b228cb524 100644
--- a/include/linux/ceph/messenger.h
+++ b/include/linux/ceph/messenger.h
@@ -157,8 +157,6 @@ struct ceph_msg {
157}; 157};
158 158
159struct ceph_msg_pos { 159struct ceph_msg_pos {
160 int page, page_pos; /* which page; offset in page */
161 int data_pos; /* offset in data payload */
162 bool did_page_crc; /* true if we've calculated crc for current page */ 160 bool did_page_crc; /* true if we've calculated crc for current page */
163}; 161};
164 162