[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] doc: Fix constant values for NBD_REP_ERR_*



We can't have error values that don't fit in 32 bits :)

Signed-off-by: Eric Blake <eblake@redhat.com>

---
In comparing the extension-blockstatus branch against master, I
noticed that we had a fix in the branch that needs to be in master.

Pushing this one as trivial.
---
 doc/proto.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/proto.md b/doc/proto.md
index a4f8b21..3233daa 100644
--- a/doc/proto.md
+++ b/doc/proto.md
@@ -1182,12 +1182,12 @@ case that data is an error message string suitable for display to the user.

     The requested export is not available.

-* `NBD_REP_ERR_SHUTDOWN` (2^32 + 7)
+* `NBD_REP_ERR_SHUTDOWN` (2^31 + 7)

     The server is unwilling to continue negotiation as it is in the
     process of being shut down.

-* `NBD_REP_ERR_BLOCK_SIZE_REQD` (2^32 + 8)
+* `NBD_REP_ERR_BLOCK_SIZE_REQD` (2^31 + 8)

     The server is unwilling to enter transmission phase for a given
     export unless the client first acknowledges (via
-- 
2.13.6


Reply to: