scsi: Add scsi_prot_op_normal()
It is a common pattern to check if a Scmd prot option is "normal", i.e.
regular IO.
Add a common helper for this and fixup any relevant code to use it.
Signed-off-by: NJohn Garry <john.garry@huawei.com>
Showing
想要评论请 注册 或 登录