30 lines
1.0 KiB
Diff
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 5/7] 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.32.0
|
||
|
|