• A
    libceph: SOCK_CLOSED is a flag, not a state · a8d00e3c
    Alex Elder 提交于
    The following commit changed it so SOCK_CLOSED bit was stored in
    a connection's new "flags" field rather than its "state" field.
    
        libceph: start separating connection flags from state
        commit 928443cd
    
    That bit is used in con_close_socket() to protect against setting an
    error message more than once in the socket event handler function.
    
    Unfortunately, the field being operated on in that function was not
    updated to be "flags" as it should have been.  This fixes that
    error.
    Signed-off-by: NAlex Elder <elder@inktank.com>
    Reviewed-by: NSage Weil <sage@inktank.com>
    a8d00e3c
messenger.c 66.6 KB