提交 de01bad2 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

[PATCH] make ipc/shm.c:shm_nopage() static

shm_nopage() can become static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Acked-by: NEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 5357fc14
...@@ -226,8 +226,8 @@ static void shm_close(struct vm_area_struct *vma) ...@@ -226,8 +226,8 @@ static void shm_close(struct vm_area_struct *vma)
mutex_unlock(&shm_ids(ns).mutex); mutex_unlock(&shm_ids(ns).mutex);
} }
struct page *shm_nopage(struct vm_area_struct *vma, unsigned long address, static struct page *shm_nopage(struct vm_area_struct *vma,
int *type) unsigned long address, int *type)
{ {
struct file *file = vma->vm_file; struct file *file = vma->vm_file;
struct shm_file_data *sfd = shm_file_data(file); struct shm_file_data *sfd = shm_file_data(file);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部