mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user