fs: 9p: Adding new return type vm_fault_t
PATCH 1/1 fs: 9p: Adding new return type vm_fault_t
Use new return type vm_fault_t for page_mkwrite
handler.
see commit 1c8f422059ae ("mm: change return type to vm_fault_t") for reference.
Signed-off-by Souptick Joarder <[email protected]>
Reviewed-by Matthew Wilcox <[email protected]>
--- fs/9p/vfs_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/9p/vfs_file.c +1 -1
@@ -533,7 +533,7 @@ int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end,return retval; } -static int +static vm_fault_t v9fs_vm_page_mkwrite (struct vm_fault *vmf) {struct v9fs_inode *v9inode;
--
1.9.1
LGTM
Quoted 8 lines · Souptick Joarder
Use new return type
vm_fault_tforpage_mkwrite
handler.see commit
1c8f422059ae("mm: change return type tovm_fault_t") for reference.Signed-off-by Souptick Joarder <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>
Acked-by Jun Piao <[email protected]>
Quoted 29 lines
--- fs/9p/vfs_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/9p/vfs_file.c +1
-2@@ -533,7 +533,7 @@ int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end,return retval; } -static int +static vm_fault_t v9fs_vm_page_mkwrite (struct vm_fault *vmf) {struct v9fs_inode *v9inode; --1.9.1
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
V9fs-developer mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/v9fs-developer