Skip to content

Commit

Permalink
fs/nilfs2/file.c: use new return type vm_fault_t
Browse files Browse the repository at this point in the history
Use new return type vm_fault_t for page_mkwrite handler.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Souptick Joarder <[email protected]>
Signed-off-by: Ryusuke Konishi <[email protected]>
Reviewed-by: Matthew Wilcox <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Souptick Joarder authored and torvalds committed Aug 22, 2018
1 parent 21a1a52 commit c8ed98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nilfs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
return err;
}

static int nilfs_page_mkwrite(struct vm_fault *vmf)
static vm_fault_t nilfs_page_mkwrite(struct vm_fault *vmf)
{
struct vm_area_struct *vma = vmf->vma;
struct page *page = vmf->page;
Expand Down

0 comments on commit c8ed98c

Please sign in to comment.