fs: fuse: Adding new return type vm_fault_t
Subsystems (2)
PATCH v2 1/1 fs: fuse: Adding new return type vm_fault_t
Use new return type vm_fault_t for fault handler in struct vm_operations_struct. For now, this is just documenting that the function returns a VM_FAULT value rather than an errno. Once all instances are converted, vm_fault_t will become a distinct type.
commit 1c8f422059ae ("mm: change return type to vm_fault_t")
--- fs/fuse/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fuse/file.c +1 -1
@@ -2048,7 +2048,7 @@ static void fuse_vma_close(struct vm_area_struct *vma)* - sync(2) * - try_to_free_pages() with order > PAGE_ALLOC_COSTLY_ORDER */ -static int fuse_page_mkwrite (struct vm_fault *vmf) +static vm_fault_t fuse_page_mkwrite (struct vm_fault *vmf) {struct page *page = vmf->page;struct inode *inode =file_inode (vmf->vma->vm_file);
--
1.9.1
Quoted 30 lines · Souptick Joarder
Use new return type
vm_fault_tfor fault handler in structvm_operations_struct. For now, this is just documenting that the function returns aVM_FAULTvalue rather than an errno. Once all instances are converted,vm_fault_twill become a distinct type.commit
1c8f422059ae("mm: change return type tovm_fault_t")Signed-off-by Souptick Joarder <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>--- fs/fuse/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/fuse/file.c +1
-2@@ -2048,7 +2048,7 @@ static void fuse_vma_close(struct vm_area_struct *vma)* - sync(2) * - try_to_free_pages() with order > PAGE_ALLOC_COSTLY_ORDER */ -static int fuse_page_mkwrite (struct vm_fault *vmf) +static vm_fault_t fuse_page_mkwrite (struct vm_fault *vmf) {struct page *page = vmf->page;struct inode *inode =file_inode (vmf->vma->vm_file); --
Quoted 2 lines
1.9.1
Miklos, we would like to get this patch in queue
for 4.18.
Miklos Szeredi
maintainerQuoted 28 lines · Souptick Joarder
Quoted 27 lines · Souptick Joarder
Use new return type
vm_fault_tfor fault handler in structvm_operations_struct. For now, this is just documenting that the function returns aVM_FAULTvalue rather than an errno. Once all instances are converted,vm_fault_twill become a distinct type.commit
1c8f422059ae("mm: change return type tovm_fault_t")Signed-off-by Souptick Joarder <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>--- fs/fuse/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/fuse/file.c +1
-1@@ -2048,7 +2048,7 @@ static void fuse_vma_close(struct vm_area_struct *vma)* - sync(2) * - try_to_free_pages() with order > PAGE_ALLOC_COSTLY_ORDER */ -static int fuse_page_mkwrite (struct vm_fault *vmf) +static vm_fault_t fuse_page_mkwrite (struct vm_fault *vmf) {
Quoted 8 lines
Quoted 5 lines
fs/fuse/file.c +0
-1struct page *page = vmf->page;struct inode *inode =file_inode (vmf->vma->vm_file); --1.9.1
Miklos, we would like to get this patch in queue
for 4.18.
Sure, queued up.
Thanks,
Miklos
Quoted 38 lines · Miklos Szeredi
Quoted 28 lines · Souptick Joarder
Quoted 27 lines · Souptick Joarder
Use new return type
vm_fault_tfor fault handler in structvm_operations_struct. For now, this is just documenting that the function returns aVM_FAULTvalue rather than an errno. Once all instances are converted,vm_fault_twill become a distinct type.commit
1c8f422059ae("mm: change return type tovm_fault_t")Signed-off-by Souptick Joarder <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>--- fs/fuse/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/fuse/file.c +1
-1@@ -2048,7 +2048,7 @@ static void fuse_vma_close(struct vm_area_struct *vma)* - sync(2) * - try_to_free_pages() with order > PAGE_ALLOC_COSTLY_ORDER */ -static int fuse_page_mkwrite (struct vm_fault *vmf) +static vm_fault_t fuse_page_mkwrite (struct vm_fault *vmf) {Quoted 8 lines
Quoted 5 lines
fs/fuse/file.c +0
-1struct page *page = vmf->page;struct inode *inode =file_inode (vmf->vma->vm_file); --1.9.1
Miklos, we would like to get this patch in queue
for 4.18.
Quoted 2 lines
Sure, queued up.
This patch is not merged in 4.18-rc-1
Quoted 39 lines · Souptick Joarder
Quoted 38 lines · Miklos Szeredi
Quoted 36 lines · Souptick Joarder
Quoted 30 lines · Souptick Joarder
Use new return type
vm_fault_tfor fault handler in structvm_operations_struct. For now, this is just documenting that the function returns aVM_FAULTvalue rather than an errno. Once all instances are converted,vm_fault_twill become a distinct type.commit
1c8f422059ae("mm: change return type tovm_fault_t")Signed-off-by Souptick Joarder <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>--- fs/fuse/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/fuse/file.c +1
-2@@ -2048,7 +2048,7 @@ static void fuse_vma_close(struct vm_area_struct *vma)* - sync(2) * - try_to_free_pages() with order > PAGE_ALLOC_COSTLY_ORDER */ -static int fuse_page_mkwrite (struct vm_fault *vmf) +static vm_fault_t fuse_page_mkwrite (struct vm_fault *vmf) {struct page *page = vmf->page;struct inode *inode =file_inode (vmf->vma->vm_file); --Quoted 2 lines
1.9.1
Miklos, we would like to get this patch in queue
for 4.18.
Quoted 4 lines
Quoted 2 lines
Sure, queued up.
This patch is not merged in 4.18-rc-1
Miklos, Can we get this patch in 4.18-rc-x / 4.19 ?
Miklos Szeredi
maintainerQuoted 40 lines · Souptick Joarder
Quoted 39 lines · Souptick Joarder
Quoted 38 lines · Miklos Szeredi
Quoted 36 lines · Souptick Joarder
Quoted 30 lines · Souptick Joarder
Use new return type
vm_fault_tfor fault handler in structvm_operations_struct. For now, this is just documenting that the function returns aVM_FAULTvalue rather than an errno. Once all instances are converted,vm_fault_twill become a distinct type.commit
1c8f422059ae("mm: change return type tovm_fault_t")Signed-off-by Souptick Joarder <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>--- fs/fuse/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/fuse/file.c +1
-2@@ -2048,7 +2048,7 @@ static void fuse_vma_close(struct vm_area_struct *vma)* - sync(2) * - try_to_free_pages() with order > PAGE_ALLOC_COSTLY_ORDER */ -static int fuse_page_mkwrite (struct vm_fault *vmf) +static vm_fault_t fuse_page_mkwrite (struct vm_fault *vmf) {struct page *page = vmf->page;struct inode *inode =file_inode (vmf->vma->vm_file); --Quoted 2 lines
1.9.1
Miklos, we would like to get this patch in queue
for 4.18.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Sure, queued up.
This patch is not merged in 4.18-rc-1
Miklos, Can we get this patch in 4.18-rc-x / 4.19 ?
Sure, queued up for 4.18-rc
(git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git#for-next).
Sorry for the delay, somehow I left this off the 4.18 pull.
Thanks,
Miklos
Quoted 44 lines · Miklos Szeredi
Quoted 43 lines · Souptick Joarder
Quoted 42 lines · Souptick Joarder
Quoted 40 lines · Miklos Szeredi
Quoted 28 lines · Souptick Joarder
Quoted 27 lines · Souptick Joarder
Use new return type
vm_fault_tfor fault handler in structvm_operations_struct. For now, this is just documenting that the function returns aVM_FAULTvalue rather than an errno. Once all instances are converted,vm_fault_twill become a distinct type.commit
1c8f422059ae("mm: change return type tovm_fault_t")Signed-off-by Souptick Joarder <[email protected]>Reviewed-by Matthew Wilcox <[email protected]>--- fs/fuse/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)fs/fuse/file.c +1
-1@@ -2048,7 +2048,7 @@ static void fuse_vma_close(struct vm_area_struct *vma)* - sync(2) * - try_to_free_pages() with order > PAGE_ALLOC_COSTLY_ORDER */ -static int fuse_page_mkwrite (struct vm_fault *vmf) +static vm_fault_t fuse_page_mkwrite (struct vm_fault *vmf) {Quoted 8 lines
Quoted 5 lines
fs/fuse/file.c +0
-1struct page *page = vmf->page;struct inode *inode =file_inode (vmf->vma->vm_file); --1.9.1
Miklos, we would like to get this patch in queue
for 4.18.Sure, queued up.
Quoted 9 lines
Quoted 3 lines
Quoted 1 line
This patch is not merged in 4.18-rc-1
Miklos, Can we get this patch in 4.18-rc-x / 4.19 ?
Sure, queued up for 4.18-rc
(git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git#for-next).Sorry for the delay, somehow I left this off the 4.18 pull.
Thanks :)