]> git.baikalelectronics.ru Git - kernel.git/commit
mm/zbud: don't export any zbud API
authorMiaohe Lin <linmiaohe@huawei.com>
Thu, 1 Jul 2021 01:50:45 +0000 (18:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Jul 2021 03:47:29 +0000 (20:47 -0700)
commit25ddf69af0c89965524017c058ff78df495e3955
tree1e8a5429f04e9e17aa8a8fed20de0581f1e98bbb
parent9fb16b2b0cb70894290369a44a7431093365924b
mm/zbud: don't export any zbud API

The zbud doesn't need to export any API and it is meant to be used via
zpool API since the commit 856a6c582753 ("mm/zpool: update zswap to use
zpool").  So we can remove the unneeded zbud.h and move down zpool API to
avoid any forward declaration.

[linmiaohe@huawei.com: fix unused function warnings when CONFIG_ZPOOL is disabled]
Link: https://lkml.kernel.org/r/20210619025508.1239386-1-linmiaohe@huawei.com
Link: https://lkml.kernel.org/r/20210608114515.206992-3-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
MAINTAINERS
include/linux/zbud.h [deleted file]
mm/Kconfig
mm/zbud.c