search for: a637f754

Displaying 1 result from an estimated 1 matches for "a637f754".

2019 Sep 18
1
[nbdkit PATCH] server: Saner filter .close calls
...ing that if .open succeeded, the backend's handle is also set. Signed-off-by: Eric Blake <eblake@redhat.com> --- server/backend.c | 9 ++++++++- server/filters.c | 12 ++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/server/backend.c b/server/backend.c index a637f754..b918adff 100644 --- a/server/backend.c +++ b/server/backend.c @@ -172,6 +172,7 @@ int backend_open (struct backend *b, struct connection *conn, int readonly) { struct b_conn_handle *h = &conn->handles[b->i]; + int r; debug ("%s: open readonly=%d", b->name, readonly...