author: Souptick Joarder <jrdr.linux@gmail.com> 2018-08-23 17:00:48 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2018-08-23 18:48:43 -0700
commit: 0722f1862059767309b22e9469897eb9380d7a25
parent: 42df050930e7dade82b4d38959320aa05f4022e3
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/afs/write.c b/fs/afs/write.c
index 8b39e6ebb40b..19c04caf3c01 100644
--- a/fs/afs/write.c
+++ b/fs/afs/write.c
@@ -753,7 +753,7 @@ int afs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
* notification that a previously read-only page is about to become writable
* - if it returns an error, the caller will deliver a bus error signal
*/
-int afs_page_mkwrite(struct vm_fault *vmf)
+vm_fault_t afs_page_mkwrite(struct vm_fault *vmf)
{
struct file *file = vmf->vma->vm_file;
struct inode *inode = file_inode(file);