From: Souptick Joarder Date: Sat, 14 Apr 2018 19:28:25 +0000 (+0530) Subject: fs: cifs: Adding new return type vm_fault_t X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a5240cbde22c86c606c6462d32aea0648c21fdc3;p=openwrt%2Fstaging%2Fblogic.git 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 Reviewed-by: Matthew Wilcox Signed-off-by: Steve French --- 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;