]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ceph: fix message memory leak, uninitialized variable
authorSage Weil <sage@newdream.net>
Sun, 13 Jun 2010 17:30:19 +0000 (10:30 -0700)
committerSage Weil <sage@newdream.net>
Sun, 13 Jun 2010 17:34:36 +0000 (10:34 -0700)
commitae32be31341a5fecfa16c5b3eb78095207182cce
tree1fb056abaab9a6ca5f593dba6237f6ebc0f6135c
parent4a32f93d29b05cdab63c0e2979bc1524c8ea6bf5
ceph: fix message memory leak, uninitialized variable

We need to properly initialize skip, as not all alloc_msg op instances
set it.

Also, BUG if someone says skip but also allocates a message.

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