summaryrefslogtreecommitdiff
path: root/fs/ceph/ioctl.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-03-15 23:12:25 (GMT)
committerSage Weil <sage@newdream.net>2010-03-23 14:46:47 (GMT)
commit0a990e7093566ceb07e38951e1a01686923d4f09 (patch)
tree4f02c6f7a5c1033b4a81363e6e996d6237bda8e1 /fs/ceph/ioctl.h
parent5b3dbb44ab40660a080d03585bd35f45b2890c49 (diff)
downloadlinux-fsl-qoriq-0a990e7093566ceb07e38951e1a01686923d4f09.tar.xz
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 'fs/ceph/ioctl.h')
0 files changed, 0 insertions, 0 deletions