scst_vdisk: clarify vdisk_no_fd_allowed_commands() comment

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6804 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2016-02-17 03:30:17 +00:00
parent 143db85864
commit e8575e85c3

View File

@@ -3614,7 +3614,11 @@ static int blockio_exec(struct scst_cmd *cmd)
if (unlikely(virt_dev->fd == NULL)) {
if (!vdisk_no_fd_allowed_commands(cmd)) {
/* We should not get here */
/*
* We should not get here, unless the user space
* misconfiguring something, e.g. set optimized
* ALUA state for secondary DRBD device.
*/
PRINT_WARNING("Closed FD on exec. Secondary DRBD or not "
"blocked dev before ALUA state change? "
"(cmd %p, op %s, dev %s)", cmd, cmd->op_name,