[PATCH] fs: cifs: Adding new return type vm_fault_t

Steve French smfrench at gmail.com
Mon Apr 16 02:22:54 UTC 2018


merged into cifs-2.6.git for-next

On Sat, Apr 14, 2018 at 2:28 PM, Souptick Joarder <jrdr.linux at gmail.com> wrote:
> Use new return type vm_fault_t for page_mkwrite
> handler.
>
> Signed-off-by: Souptick Joarder <jrdr.linux at gmail.com>
> Reviewed-by: Matthew Wilcox <mawilcox at 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 at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Thanks,

Steve



More information about the samba-technical mailing list