summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2018-04-14 22:28:25 +0300
committerSteve French <stfrench@microsoft.com>2018-04-17 22:44:35 +0300
commita5240cbde22c86c606c6462d32aea0648c21fdc3 (patch)
treeb02615bd97b0ec23a604e19268f5fc8895445a8a /fs
parent0d568cd34eb04acf05c26f360d1a0f071f0bb636 (diff)
downloadlinux-a5240cbde22c86c606c6462d32aea0648c21fdc3.tar.xz
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.c2
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;