hv_kvp.c (fa3d5b85c681518b6e4ec515814dcb2d5b702b89) | hv_kvp.c (adc80ae60eae24a43a357bf5b30fb496f34aa605) |
---|---|
1/* 2 * An implementation of key value pair (KVP) functionality for Linux. 3 * 4 * 5 * Copyright (C) 2010, Novell, Inc. 6 * Author : K. Y. Srinivasan <ksrinivasan@novell.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 275 unchanged lines hidden (view full) --- 284 /* 285 * We have raced with util driver being unloaded; 286 * silently return. 287 */ 288 return; 289 290 291 /* | 1/* 2 * An implementation of key value pair (KVP) functionality for Linux. 3 * 4 * 5 * Copyright (C) 2010, Novell, Inc. 6 * Author : K. Y. Srinivasan <ksrinivasan@novell.com> 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 275 unchanged lines hidden (view full) --- 284 /* 285 * We have raced with util driver being unloaded; 286 * silently return. 287 */ 288 return; 289 290 291 /* |
292 * If the error parameter is set, terminate the host's enumeration. | 292 * If the error parameter is set, terminate the host's enumeration 293 * on this pool. |
293 */ 294 if (error) { 295 /* 296 * Something failed or the we have timedout; | 294 */ 295 if (error) { 296 /* 297 * Something failed or the we have timedout; |
297 * terminate the host-side iteration by returning an error. | 298 * terminate the current host-side iteration. |
298 */ | 299 */ |
299 icmsghdrp->status = HV_E_FAIL; | 300 icmsghdrp->status = HV_S_CONT; |
300 goto response_done; 301 } 302 303 icmsghdrp->status = HV_S_OK; 304 305 kvp_msg = (struct hv_kvp_msg *) 306 &recv_buffer[sizeof(struct vmbuspipe_hdr) + 307 sizeof(struct icmsg_hdr)]; --- 158 unchanged lines hidden --- | 301 goto response_done; 302 } 303 304 icmsghdrp->status = HV_S_OK; 305 306 kvp_msg = (struct hv_kvp_msg *) 307 &recv_buffer[sizeof(struct vmbuspipe_hdr) + 308 sizeof(struct icmsg_hdr)]; --- 158 unchanged lines hidden --- |