Message ID | 20180414192825.GA19908@jordon-HP-15-Notebook-PC (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
merged into cifs-2.6.git for-next On Sat, Apr 14, 2018 at 2:28 PM, Souptick Joarder <jrdr.linux@gmail.com> wrote: > 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> > --- > 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 > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
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;