On 9/5/21 9:09 PM, Huacai Chen wrote: > Function dd_queued() is only used in dd_queued_show(), but dd_queued_ > show() is only defined for BLK_DEBUG_FS enabled. However, in the commit > 3fe617ccafd6f5bb3 ("Enable '-Werror' by default for all kernel builds") > Werror is enabled by default, which cause a build error if DEBUG_FS is > not enabled. > > So we move dd_queued() in the CONFIG_BLK_DEBUG_FS block to fix it. This has already been queued up for a while: https://git.kernel.dk/cgit/linux-block/commit/?h=block-5.15&id=55a51ea14094a1e7dd0d7f33237d246033dd39ab -- Jens Axboe