Skip to content

Commit c8ed98c

Browse files
Souptick Joardertorvalds
authored andcommitted
fs/nilfs2/file.c: use new return type vm_fault_t
Use new return type vm_fault_t for page_mkwrite handler. Link: http://lkml.kernel.org/r/1529555928-2411-1-git-send-email-konishi.ryusuke@lab.ntt.co.jp Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com> Cc: Matthew Wilcox <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 21a1a52 commit c8ed98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nilfs2/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
5151
return err;
5252
}
5353

54-
static int nilfs_page_mkwrite(struct vm_fault *vmf)
54+
static vm_fault_t nilfs_page_mkwrite(struct vm_fault *vmf)
5555
{
5656
struct vm_area_struct *vma = vmf->vma;
5757
struct page *page = vmf->page;

0 commit comments

Comments
 (0)