summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2018-04-14 21:28:25 +0200
committerSteve French <stfrench@microsoft.com>2018-04-17 21:44:35 +0200
commita5240cbde22c86c606c6462d32aea0648c21fdc3 (patch)
treeb02615bd97b0ec23a604e19268f5fc8895445a8a /fs/cifs
parentcifs: smb2ops: Fix NULL check in smb2_query_symlink (diff)
downloadlinux-a5240cbde22c86c606c6462d32aea0648c21fdc3.tar.xz
linux-a5240cbde22c86c606c6462d32aea0648c21fdc3.zip
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/cifs')
-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;