ceph: reuse mon subscribe message instead of allocated anew
authorSage Weil <sage@newdream.net>
Fri, 21 May 2010 21:57:25 +0000 (14:57 -0700)
committerSage Weil <sage@newdream.net>
Fri, 21 May 2010 23:26:11 +0000 (16:26 -0700)
commit240ed68eb567d80dd6bab739341999a5ab0ad55d
treefabd30d0897a30fa401f85e858f8aecdedb02959
parent970690012c572fc3b7be532080564b730f6a9c02
ceph: reuse mon subscribe message instead of allocated anew

Use the same message, allocated during startup.  No need to reallocate a
new one each time around (and potentially ENOMEM).

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