]> 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)
commit0d8f2bc6747e83023a12f1a93f04642980178e5a
tree1e8a5429f04e9e17aa8a8fed20de0581f1e98bbb
parentd939876fe2126f2cc43be55476c9c8adb81d1b61
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 1bc72d6cbfb5 ("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