linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: Introduce new type vm_fault_t
@ 2018-07-22 13:01 Souptick Joarder
  2018-07-23 15:42 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Souptick Joarder @ 2018-07-22 13:01 UTC (permalink / raw)
  To: willy, corbet, darrick.wong, gregkh, mszeredi, viro, seanga2, jrdr.linux
  Cc: linux-doc, linux-kernel, ajitn.linux, brajeswar.linux, sabyasachi.linux

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>
---
 Documentation/filesystems/Locking | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index 2c39133..233413b 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -537,9 +537,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:
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm: Introduce new type vm_fault_t
  2018-07-22 13:01 [PATCH] mm: Introduce new type vm_fault_t Souptick Joarder
@ 2018-07-23 15:42 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2018-07-23 15:42 UTC (permalink / raw)
  To: Souptick Joarder
  Cc: willy, darrick.wong, gregkh, mszeredi, viro, seanga2, linux-doc,
	linux-kernel, ajitn.linux, brajeswar.linux, sabyasachi.linux

On Sun, 22 Jul 2018 18:31:34 +0530
Souptick Joarder <jrdr.linux@gmail.com> wrote:

> 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>

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-23 15:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-22 13:01 [PATCH] mm: Introduce new type vm_fault_t Souptick Joarder
2018-07-23 15:42 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).