search for: reply_len

Displaying 6 results from an estimated 6 matches for "reply_len".

2005 Jun 05
0
[PATCH] avoid spurious umount error message
...=================== --- klibc-1.0.14.orig/nfsmount/mount.c 2005-05-27 07:02:31.000000000 +0200 +++ klibc-1.0.14/nfsmount/mount.c 2005-06-04 13:36:33.000000000 +0200 @@ -166,6 +166,10 @@ if (rpc_call(clnt, &rpc) < 0) goto bail; + if (proc != MNTPROC_MNT) { + goto done; + } + if (rpc.reply_len < MNT_REPLY_MINSIZE) { fprintf(stderr, "incomplete reply: %zu < %zu\n", rpc.reply_len, MNT_REPLY_MINSIZE);
2011 Nov 29
18
[PATCH 0 of 6] Add support for a VM generation ID virtual device (v2)
The following is a revised patch series to add support for a VM generation ID virtual device for HVM guests. The basic requirements of this device are as follows: - It must be exposed somewhere in ACPI namespace with a _CID of "VM_Gen_Counter". - It must also include a _DDN of "VM_Gen_Counter". - It must contain a _HID object but no particular value is required. - It must
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
...rlen(xsd_errors[i].errstring) + 1); } @@ -797,7 +795,7 @@ return false; } -static bool send_directory(struct connection *conn, const char *node) +static void send_directory(struct connection *conn, const char *node) { char *path, *reply = talloc_strdup(node, ""); unsigned int reply_len = 0; @@ -805,13 +803,17 @@ struct dirent *dirent; node = canonicalize(conn, node); - if (!check_node_perms(conn, node, XS_PERM_READ)) - return send_error(conn, errno); + if (!check_node_perms(conn, node, XS_PERM_READ)) { + send_error(conn, errno); + return; + } path = node_dir(conn-&gt...
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about. The goal is not to be 100% checkpatch compliant, but to have more consistent coding style. As this is a trivial patch serie, will land in 24 hours in klibc git, unless of course ml review hits a bugger. Checked with size(3) that the generated kinit, fstype, ipconfig and nfsmount are the same. maximilian attems (4): [klibc] ipconfig: reduce
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...eq = job->req; struct request *rsp = req->next_rq; int err; err = job->req->errors = job->reply->result; if (err < 0) /* we're only returning the result field in the reply */ job->req->sense_len = sizeof(uint32_t); else job->req->sense_len = job->reply_len; /* we assume all request payload was transferred, residual == 0 */ req->resid_len = 0; if (rsp) { WARN_ON(job->reply->reply_payload_rcv_len > rsp->resid_len); /* set reply (bidi) residual */ rsp->resid_len -= min(job->reply->reply_payload_rcv_len, rsp-...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...eq = job->req; struct request *rsp = req->next_rq; int err; err = job->req->errors = job->reply->result; if (err < 0) /* we're only returning the result field in the reply */ job->req->sense_len = sizeof(uint32_t); else job->req->sense_len = job->reply_len; /* we assume all request payload was transferred, residual == 0 */ req->resid_len = 0; if (rsp) { WARN_ON(job->reply->reply_payload_rcv_len > rsp->resid_len); /* set reply (bidi) residual */ rsp->resid_len -= min(job->reply->reply_payload_rcv_len, rsp-...