]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: don't support the appid attribute without CONFIG_BLK_CGROUP_FC_APPID
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Apr 2022 04:27:10 +0000 (06:27 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 2 May 2022 20:06:20 +0000 (14:06 -0600)
commitcd54c7fe766102d8a9f31b550f7114f44adc39aa
treea9acd06bb1add83db02e02c973659030410216b8
parent167315cdbcb8b3127c661509aa95a677a9f3fb16
nvme-fc: don't support the appid attribute without CONFIG_BLK_CGROUP_FC_APPID

nvme-fc appid support needs CONFIG_BLK_CGROUP_FC_APPID to work, so disable
the whole code if the option is not set.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20220420042723.1010598-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/fc.c