diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-07-22 15:01:34 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2018-07-23 17:42:11 +0200 |
commit | fe3136f441411c2aeb4ffe29ef44b1a87c116775 (patch) | |
tree | 997a29fd723cecd8abaf4afbde28d461f6ceadf1 /Documentation | |
parent | mtd: nand: correct documentation for NAND_ECC_HW8_512 (diff) | |
download | linux-fe3136f441411c2aeb4ffe29ef44b1a87c116775.tar.xz linux-fe3136f441411c2aeb4ffe29ef44b1a87c116775.zip |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/filesystems/Locking | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking index 37bf0a9de75c..f64bbec3a8cf 100644 --- a/Documentation/filesystems/Locking +++ b/Documentation/filesystems/Locking @@ -532,9 +532,9 @@ More details about quota locking can be found in fs/dquot.c. prototypes: void (*open)(struct vm_area_struct*); void (*close)(struct vm_area_struct*); - int (*fault)(struct vm_area_struct*, struct vm_fault *); - int (*page_mkwrite)(struct vm_area_struct *, struct vm_fault *); - int (*pfn_mkwrite)(struct vm_area_struct *, struct vm_fault *); + vm_fault_t (*fault)(struct vm_area_struct*, struct vm_fault *); + vm_fault_t (*page_mkwrite)(struct vm_area_struct *, struct vm_fault *); + vm_fault_t (*pfn_mkwrite)(struct vm_area_struct *, struct vm_fault *); int (*access)(struct vm_area_struct *, unsigned long, void*, int, int); locking rules: |