提交 47846b06 编写于 作者: M Miklos Szeredi

mm: export lru_cache_add_*() to modules

This is needed to enable moving pages into the page cache in fuse with
splice(..., SPLICE_F_MOVE).
Signed-off-by: NMiklos Szeredi <mszeredi@suse.cz>
上级 dd3bb14f
...@@ -224,6 +224,7 @@ void __lru_cache_add(struct page *page, enum lru_list lru) ...@@ -224,6 +224,7 @@ void __lru_cache_add(struct page *page, enum lru_list lru)
____pagevec_lru_add(pvec, lru); ____pagevec_lru_add(pvec, lru);
put_cpu_var(lru_add_pvecs); put_cpu_var(lru_add_pvecs);
} }
EXPORT_SYMBOL(__lru_cache_add);
/** /**
* lru_cache_add_lru - add a page to a page list * lru_cache_add_lru - add a page to a page list
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册