ceph: fix incremental osdmap pg_temp decoding bug
authorSage Weil <sage@newdream.net>
Tue, 22 Dec 2009 00:02:37 +0000 (16:02 -0800)
committerSage Weil <sage@newdream.net>
Tue, 22 Dec 2009 00:40:00 +0000 (16:40 -0800)
commit7067f797b8409f1e10ec95ac2c1e17a200173d13
tree29bac1d0c8a2415b5a960432bf7125b833300977
parent30dc6381bbac213987be6fe0b0fb89868ff1f2c0
ceph: fix incremental osdmap pg_temp decoding bug

An incremental pg_temp wasn't being decoded properly (wrong bound on
for loop).

Also remove unused local variable, while we're at it.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/osdmap.c