]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nvme-loop: add configfs dependency
authorArnd Bergmann <arnd@arndb.de>
Thu, 7 Jul 2016 09:01:26 +0000 (11:01 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 7 Jul 2016 14:34:45 +0000 (08:34 -0600)
commit1fb470408497382a0cf5311d9fa362202b537ebf
tree9e404941c10df57ad9cc34d83704af6515ab10b3
parent89b920e0031673882e2217189c655dd89d5c1553
nvme-loop: add configfs dependency

CONFIG_NVME_TARGET has a correct CONFIG_CONFIGFS_FS dependency, but the
newly added NVME_TARGET_LOOP is missing this, resulting in a link
failure:

drivers/nvme/built-in.o: In function `nvmet_init_configfs':
loop.c:(.init.text+0x2a0): undefined reference to `config_group_init'
loop.c:(.init.text+0x2c0): undefined reference to `config_group_init_type_name'
loop.c:(.init.text+0x318): undefined reference to `configfs_register_subsystem'
drivers/nvme/built-in.o: In function `nvmet_exit_configfs':
loop.c:(.exit.text+0x9c): undefined reference to `configfs_unregister_subsystem'

This adds the same dependency here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 3a85a5de29ea ("nvme-loop: add a NVMe loopback host driver")
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/target/Kconfig