ceph: reset front len on return to msgpool; BUG on mismatched front iov
authorSage Weil <sage@newdream.net>
Mon, 1 Mar 2010 23:25:00 +0000 (15:25 -0800)
committerSage Weil <sage@newdream.net>
Mon, 1 Mar 2010 23:25:00 +0000 (15:25 -0800)
Reset msg front len when a message is returned to the pool: the caller
may have changed it.

BUG if we try to send a message with a hdr.front_len that doesn't match
the front iov.

Signed-off-by: Sage Weil <sage@newdream.net>

No differences found