diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-04-14 21:28:25 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-04-17 21:44:35 +0200 |
commit | a5240cbde22c86c606c6462d32aea0648c21fdc3 (patch) | |
tree | b02615bd97b0ec23a604e19268f5fc8895445a8a /fs/cifs | |
parent | cifs: smb2ops: Fix NULL check in smb2_query_symlink (diff) | |
download | linux-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.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; |