Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mm: Introduce new type vm_fault_t

We have introduce a new return type vm_fault_t for
fault, page_mkwrite and pfn_mkwrite handlers. Update
the document for the same

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Souptick Joarder and committed by
Jonathan Corbet
fe3136f4 203b400e

+3 -3
+3 -3
Documentation/filesystems/Locking
··· 532 532 prototypes: 533 533 void (*open)(struct vm_area_struct*); 534 534 void (*close)(struct vm_area_struct*); 535 - int (*fault)(struct vm_area_struct*, struct vm_fault *); 536 - int (*page_mkwrite)(struct vm_area_struct *, struct vm_fault *); 537 - int (*pfn_mkwrite)(struct vm_area_struct *, struct vm_fault *); 535 + vm_fault_t (*fault)(struct vm_area_struct*, struct vm_fault *); 536 + vm_fault_t (*page_mkwrite)(struct vm_area_struct *, struct vm_fault *); 537 + vm_fault_t (*pfn_mkwrite)(struct vm_area_struct *, struct vm_fault *); 538 538 int (*access)(struct vm_area_struct *, unsigned long, void*, int, int); 539 539 540 540 locking rules: