From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f194.google.com ([209.85.192.194]:42287 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751686AbeDNThE (ORCPT ); Sat, 14 Apr 2018 15:37:04 -0400 Received: by mail-pf0-f194.google.com with SMTP id o16so8629336pfk.9 for ; Sat, 14 Apr 2018 12:37:03 -0700 (PDT) Date: Sun, 15 Apr 2018 01:08:55 +0530 From: Souptick Joarder To: miklos@szeredi.hu Cc: linux-fsdevel@vger.kernel.org, willy@infradead.org Subject: [PATCH] fs: fuse: Adding new return type vm_fault_t Message-ID: <20180414193855.GA19997@jordon-HP-15-Notebook-PC> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Use new return type vm_fault_t for page_mkwrite handler. Signed-off-by: Souptick Joarder Reviewed-by: Matthew Wilcox --- fs/fuse/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c index a201fb0..67648cc 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -2048,7 +2048,7 @@ static void fuse_vma_close(struct vm_area_struct *vma) * - sync(2) * - try_to_free_pages() with order > PAGE_ALLOC_COSTLY_ORDER */ -static int fuse_page_mkwrite(struct vm_fault *vmf) +static vm_fault_t fuse_page_mkwrite(struct vm_fault *vmf) { struct page *page = vmf->page; struct inode *inode = file_inode(vmf->vma->vm_file); -- 1.9.1