EMC Clariion path checker: change scsi read buffer size to 4096 bytes
PATCH 1/1 EMC Clariion path checker: change scsi read buffer size to 4096 bytes
648833108fc5a95cbe15bd779289e98165c34d25 changed the scsi read buffer to 4096 bytes but forgot the emc patch checker. This fixes an immediate segfault on startup.
Signed-off-by Guido Guenther <[email protected]>
--- libcheckers/emc_clariion.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
libcheckers/emc_clariion.c +1 -1
@@ -176,7 +176,7 @@ int emc_clariion(struct checker * c)* Issue read on active path to determine if inactive snapshot. */ if (sense_buffer[4 ] ==2 ) {/* if active path */ -unsigned char buf[512 ]; +unsigned char buf[4096 ]; ret =sg_read (c->fd, &buf[0 ], sbb = &sb[0 ]);if (ret ==PATH_DOWN ) {
Signature · 1 line
1.5.2.4