Skip to content
Commit d9e1e5d8 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Greg Kroah-Hartman
Browse files

block: move CONFIG_BLOCK guard to top Makefile

[ Upstream commit 4c928904

 ]

Every object under block/ depends on CONFIG_BLOCK.

Move the guard to the top Makefile since there is no point to
descend into block/ if CONFIG_BLOCK=n.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210927140000.866249-5-masahiroy@kernel.org
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Stable-dep-of: 998b30c3

 ("io_uring: Fix a null-ptr-deref in io_tctx_exit_cb()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e5c0bc4f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment