scst_vdisk: fix typo in vdisk_get_supported_opcodes()

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6407 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2015-07-01 22:13:40 +00:00
parent ce6721207e
commit 3949bfa445

View File

@@ -2721,7 +2721,7 @@ static int vdisk_get_supported_opcodes(struct scst_cmd *cmd,
*out_supp_opcodes_cnt = ARRAY_SIZE(vdisk_opcode_descriptors);
} else {
*out_supp_opcodes = vdisk_opcode_descriptors_type2;
*out_supp_opcodes_cnt = ARRAY_SIZE(vdisk_opcode_descriptors);
*out_supp_opcodes_cnt = ARRAY_SIZE(vdisk_opcode_descriptors_type2);
}
return 0;
}