提交 de8c46bf 编写于 作者: A Alan Stern 提交者: Greg Kroah-Hartman

SCSI: fix typo in definition of struct scsi_target

This patch (as1506) corrects a typo in the definition of the
scsi_target structure.  pdt_1f_for_no_lun is supposed to be a
single-bit flag, not a full-sized integer.
Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0cb54a3e
无相关合并请求
......@@ -246,8 +246,8 @@ struct scsi_target {
unsigned int single_lun:1; /* Indicates we should only
* allow I/O to one of the luns
* for the device at a time. */
unsigned int pdt_1f_for_no_lun; /* PDT = 0x1f */
/* means no lun present */
unsigned int pdt_1f_for_no_lun:1; /* PDT = 0x1f
* means no lun present. */
/* commands actually active on LLD. protected by host lock. */
unsigned int target_busy;
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部