diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-04-15 01:03:42 +0530 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-04-16 09:52:24 +0200 |
commit | 06856938112b84ff3c6b0594d017f59cfda2a43d (patch) | |
tree | 99e537218159f941e98430c9a3d615a147c6a9ec /fs/ext2 | |
parent | 4f34a5130a471f32f2fe7750769ab4057dc3eaa0 (diff) | |
download | linux-06856938112b84ff3c6b0594d017f59cfda2a43d.tar.gz linux-06856938112b84ff3c6b0594d017f59cfda2a43d.tar.bz2 linux-06856938112b84ff3c6b0594d017f59cfda2a43d.zip |
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 <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c index 09640220fda8..047c327a6b23 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); |