]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: blkcg: Fix application ID config options
authorMartin K. Petersen <martin.petersen@oracle.com>
Sat, 3 Jul 2021 15:58:33 +0000 (11:58 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Jul 2021 18:44:22 +0000 (11:44 -0700)
commit6228d1f31646304533442ca0ef24340ad70c38b9
tree5a1755336af32929fa7f29630323052ea18e3cb2
parent00f3da6d37234fcc41416f7e3dead012ea1ba9c0
scsi: blkcg: Fix application ID config options

Commit 732a69c98d97 ("scsi: blkcg: Add app identifier support for
blkcg") introduced an FC_APPID config option under SCSI. However, the
added config option is not used anywhere. Simply remove it.

The block layer BLK_CGROUP_FC_APPID config option is what actually
controls whether the application ID code should be built or not. Make
this option dependent on NVMe over FC since that is currently the only
transport which supports the capability.

Fixes: 732a69c98d97 ("scsi: blkcg: Add app identifier support for blkcg")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/Kconfig
drivers/scsi/Kconfig