diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-04-15 00:58:25 +0530 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-04-17 14:44:35 -0500 |
commit | a5240cbde22c86c606c6462d32aea0648c21fdc3 (patch) | |
tree | b02615bd97b0ec23a604e19268f5fc8895445a8a /fs | |
parent | 0d568cd34eb04acf05c26f360d1a0f071f0bb636 (diff) |
fs: cifs: Adding new return type vm_fault_t
Use new return type vm_fault_t for page_mkwrite
handler.
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 4bcd4e838b47..23fd430fe74a 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -3462,7 +3462,7 @@ cifs_read(struct file *file, char *read_data, size_t read_size, loff_t *offset) * If the page is mmap'ed into a process' page tables, then we need to make * sure that it doesn't change while being written back. */ -static int +static vm_fault_t cifs_page_mkwrite(struct vm_fault *vmf) { struct page *page = vmf->page; |