Commit 14f28f57 authored by Souptick Joarder's avatar Souptick Joarder Committed by Linus Torvalds
Browse files

ipc: use new return type vm_fault_t

Use new return type vm_fault_t for fault handler.  For now, this is just
documenting that the function returns a VM_FAULT value rather than an
errno.  Once all instances are converted, vm_fault_t will become a
distinct type.

Commit 1c8f4220 ("mm: change return type to vm_fault_t")


Signed-off-by: default avatarSouptick Joarder <>
Reviewed-by: default avatarMatthew Wilcox <>
Reviewed-by: default avatarAndrew Morton <>
Acked-by: default avatarDavidlohr Bueso <>
Cc: Manfred Spraul <>
Cc: Eric W. Biederman <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent ec67aaa4
......@@ -408,7 +408,7 @@ void exit_shm(struct task_struct *task)
static int shm_fault(struct vm_fault *vmf)
static vm_fault_t shm_fault(struct vm_fault *vmf)
struct file *file = vmf->vma->vm_file;
struct shm_file_data *sfd = shm_file_data(file);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment