Commit 5d46e55a authored by Kirk Webb's avatar Kirk Webb
Browse files

Ignore the protocol passed in for local storage (if present).

parent c81a592e
...@@ -4328,10 +4328,7 @@ sendstoreconf(int sock, int tcp, tmcdreq_t *reqp, char *bscmd, char *vname) ...@@ -4328,10 +4328,7 @@ sendstoreconf(int sock, int tcp, tmcdreq_t *reqp, char *bscmd, char *vname)
} }
/* local disk. */ /* local disk. */
else if ((strcmp(class, BS_CLASS_LOCAL) == 0) && else if (strcmp(class, BS_CLASS_LOCAL) == 0) {
((strcmp(protocol, BS_PROTO_SAS) == 0) ||
(strcmp(protocol, BS_PROTO_SCSI) == 0))) {
/* Set default placement if not defined. */ /* Set default placement if not defined. */
placement = strlen(placement) ? placement : BS_PLACEMENT_DEF; placement = strlen(placement) ? placement : BS_PLACEMENT_DEF;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment