nbdkit/0005-ocaml-Fix-comment-on-plugin-.pread-field.patch
Richard W.M. Jones b4d42fa29b More efficient cache and cow filters.
Add nbdkit-cow-filter cow-on-read option.
Add nbdkit-cache-filter cache-on-read=/PATH.
Add nbdkit-cache-filter cache-min-block-size option.
Add nbdkit-delay-filter delay-open and delay-close options.
Reduce verbosity of debugging from virt-v2v.
Miscellaneous bugfixes
resolves: rhbz#1950632
2021-07-30 18:40:23 +01:00

30 lines
1.0 KiB
Diff

From 229f106d65e2a54aa21afde9182b0e110a83b0df Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Thu, 15 Jul 2021 20:41:03 +0100
Subject: [PATCH] ocaml: Fix comment on plugin .pread field
Incorrectly updated in earlier commit.
Fixes: commit e54e16e81c51dcbb16d70d83c5b0403babdf5f99
(cherry picked from commit b42144fc3eb6869d3a3424036877f206c6c5f2b9)
---
plugins/ocaml/NBDKit.mli | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/ocaml/NBDKit.mli b/plugins/ocaml/NBDKit.mli
index cda09f44..0f7b87e9 100644
--- a/plugins/ocaml/NBDKit.mli
+++ b/plugins/ocaml/NBDKit.mli
@@ -106,7 +106,7 @@ type 'a plugin = {
is_rotational : ('a -> bool) option;
(* Serving data. *)
- pread : ('a -> int32 -> int64 -> flags -> string) option; (* required field *)
+ pread : ('a -> int32 -> int64 -> flags -> string) option;(** required field *)
pwrite : ('a -> string -> int64 -> flags -> unit) option;
flush : ('a -> flags -> unit) option;
trim : ('a -> int32 -> int64 -> flags -> unit) option;
--
2.31.1