]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/Pipe: goto fail_unlocked on early failures in accept()
authorSage Weil <sage@inktank.com>
Mon, 17 Jun 2013 21:14:02 +0000 (14:14 -0700)
committerSage Weil <sage@inktank.com>
Sun, 23 Jun 2013 22:10:24 +0000 (15:10 -0700)
commitec612a5bda119cea52bbac9b2a49ecf1e83b08e5
tree1740c87b7c0b008822b8e0bcab3d69550c609ad2
parentafafb87e8402242d3897069f4b94ba46ffe0c413
msg/Pipe: goto fail_unlocked on early failures in accept()

Instead of duplicating an incomplete cleanup sequence (that does not
clear_pipe()), goto fail_unlocked and do the cleanup in a generic way.
s/rc/r/ while we are here.

Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/Pipe.cc