History

kernel/relay.c: change return type to 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 1c8f422059ae ("mm: change return type to vm_fault_t")

Souptick Joarder committed 8 years ago

Commit 3fb38941 parent 20fe9351 file · +1 −1Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/relay.c+1−1
@@ -39,7 +39,7 @@ static void relay_file_mmap_close(struct vm_area_struct *vma) · 38 unmodified lines
39/*39/*
40 * fault() vm_op implementation for relay file mapping.40 * fault() vm_op implementation for relay file mapping.
41 */41 */
42static int relay_buf_fault(struct vm_fault *vmf)42static vm_fault_t relay_buf_fault(struct vm_fault *vmf)
43{43{
44 struct page *page;44 struct page *page;
45 struct rchan_buf *buf = vmf->vma->vm_private_data;45 struct rchan_buf *buf = vmf->vma->vm_private_data;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t