<div dir="ltr">Merged.<div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 5, 2016 at 1:48 PM,  <span dir="ltr"><<a href="mailto:zhang.kai16@zte.com.cn" target="_blank">zhang.kai16@zte.com.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">hi,</font>
<br>
<br><font size="2" face="sans-serif">The length of the buffer is 4096, not
4069 in sg_read().</font>
<br><font size="3"> </font>
<br><tt><font size="2">---<br>
 libmultipath/checkers/readsector0.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/libmultipath/checkers/readsector0.c b/libmultipath/checkers/readsector0.c<br>
index 0550fb6..1c2a868 100644<br>
--- a/libmultipath/checkers/readsector0.c<br>
+++ b/libmultipath/checkers/readsector0.c<br>
@@ -29,7 +29,7 @@ int libcheck_check (struct checker * c)<br>
                  unsigned
char sbuf[SENSE_BUFF_LEN];<br>
                  int
ret;<br>
 <br>
-                
ret = sg_read(c->fd, &buf[0], 4069, &sbuf[0],<br>
+                
ret = sg_read(c->fd, &buf[0], 4096, &sbuf[0],<br>
                  
               
      SENSE_BUFF_LEN, c->timeout);<br>
 <br>
                  switch
(ret)<span class="HOEnZb"><font color="#888888"><br>
-- <br>
1.9.1</font></span></font></tt><span class="HOEnZb"><font color="#888888"><tt><font size="3"><br>
</font></tt>
<br>

<br><pre><font color="blue">
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.

</font></pre><br>
</font></span><br>--<br>
dm-devel mailing list<br>
<a href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/dm-devel" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/dm-devel</a><br></blockquote></div><br></div>