diff options
author | Sage Weil <sage@newdream.net> | 2010-03-15 16:12:25 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-03-23 07:46:47 -0700 |
commit | 0a990e7093566ceb07e38951e1a01686923d4f09 (patch) | |
tree | 4f02c6f7a5c1033b4a81363e6e996d6237bda8e1 /net/dccp/feat.h | |
parent | 5b3dbb44ab40660a080d03585bd35f45b2890c49 (diff) |
ceph: clean up service ticket decoding
Previously we would decode state directly into our current ticket_handler.
This is problematic if for some reason we fail to decode, because we end
up with half new state and half old state.
We are probably already in bad shape if we get an update we can't decode,
but we may as well be tidy anyway. Decode into new_* temporaries and
update the ticket_handler only on success.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'net/dccp/feat.h')
0 files changed, 0 insertions, 0 deletions