[Libguestfs] [PATCH libnbd v2 2/5] generator: Permit "see also" links to nbd_get_error and nbd_get_errno.

Richard W.M. Jones rjones at redhat.com
Thu Apr 8 10:36:12 UTC 2021


---
 generator/API.ml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/generator/API.ml b/generator/API.ml
index dd66fdb..6300b1c 100644
--- a/generator/API.ml
+++ b/generator/API.ml
@@ -3045,7 +3045,8 @@ let pod_of_link = function
 let verify_link =
   let pages = List.map fst handle_calls in
   function
-  | Link "create" | Link "close" -> ()
+  | Link "create" | Link "close"
+  | Link "get_error" | Link "get_errno" -> ()
   | Link page ->
      if not (List.mem page pages) then
        failwithf "verify_link: page nbd_%s does not exist" page
-- 
2.29.0.rc2




More information about the Libguestfs mailing list