[PATCH 3.14 20/21] libceph: apply new_state before new_up_client on incrementals

2016-08-08 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 930c532869774ebf8af9efe9484c597f896a7d46 upstream. Currently, osd_weight and osd_state fields are updated in the encoding order. This is wrong,

[PATCH 3.14 20/21] libceph: apply new_state before new_up_client on incrementals

2016-08-08 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 930c532869774ebf8af9efe9484c597f896a7d46 upstream. Currently, osd_weight and osd_state fields are updated in the encoding order. This is wrong, because an incremental map