]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c88f9b39e52791f79a84b665b170b790f8d4ba9
treefabd30d0897a30fa401f85e858f8aecdedb02959
parent6b893bf29ac43c4e0fb502a6187b8a85f6a089b0
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