From: Souptick Joarder Date: Sat, 14 Apr 2018 19:33:42 +0000 (+0530) Subject: fs: ext2: Adding new return type vm_fault_t X-Git-Tag: v4.19~868^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06856938112b84ff3c6b0594d017f59cfda2a43d;p=platform%2Fkernel%2Flinux-rpi.git fs: ext2: Adding new return type vm_fault_t Use new return type vm_fault_t for page_mkwrite, pfn_mkwrite and fault handler. Signed-off-by: Souptick Joarder Reviewed-by: Matthew Wilcox Signed-off-by: Jan Kara --- diff --git a/fs/ext2/file.c b/fs/ext2/file.c index 0964022..047c327 100644 --- a/fs/ext2/file.c +++ b/fs/ext2/file.c @@ -88,11 +88,11 @@ out_unlock: * The default page_lock and i_size verification done by non-DAX fault paths * is sufficient because ext2 doesn't support hole punching. */ -static int ext2_dax_fault(struct vm_fault *vmf) +static vm_fault_t ext2_dax_fault(struct vm_fault *vmf) { struct inode *inode = file_inode(vmf->vma->vm_file); struct ext2_inode_info *ei = EXT2_I(inode); - int ret; + vm_fault_t ret; if (vmf->flags & FAULT_FLAG_WRITE) { sb_start_pagefault(inode->i_sb);