mm: page_frag: avoid caller accessing 'page_frag_cache' directly
authorYunsheng Lin <linyunsheng@huawei.com>
Mon, 28 Oct 2024 11:53:39 +0000 (19:53 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 11 Nov 2024 18:56:27 +0000 (10:56 -0800)
commit3d18dfe69ce46f106af327736d2261d7e3ee81c0
tree508012ac2ca4270f28b0eee0cceed9959c589dfd
parent8218f62c9c9b283dd296a23ea8fbbd6be7bd5760
mm: page_frag: avoid caller accessing 'page_frag_cache' directly

Use appropriate frag_page API instead of caller accessing
'page_frag_cache' directly.

CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux-MM <linux-mm@kvack.org>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Acked-by: Chuck Lever <chuck.lever@oracle.com>
Link: https://patch.msgid.link/20241028115343.3405838-5-linyunsheng@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/vhost/net.c
include/linux/page_frag_cache.h
net/core/skbuff.c
net/rxrpc/conn_object.c
net/rxrpc/local_object.c
net/sunrpc/svcsock.c
tools/testing/selftests/mm/page_frag/page_frag_test.c