Discussion:
[PATCH] fs: cifs: Adding new return type vm_fault_t
Steve French via samba-technical
2018-04-16 02:22:54 UTC
Permalink
merged into cifs-2.6.git for-next
Use new return type vm_fault_t for page_mkwrite
handler.
---
fs/cifs/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/cifs/file.c b/fs/cifs/file.c
index 7cee97b..3659878 100644
--- a/fs/cifs/file.c
+++ b/fs/cifs/file.c
@@ -3463,7 +3463,7 @@ ssize_t cifs_user_readv(struct kiocb *iocb, struct iov_iter *to)
* 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;
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Thanks,

Steve
Loading...