[PATCH] fs: ubifs: Adding new return type vm_fault_t

Souptick Joarder jrdr.linux at gmail.com
Sat Apr 14 13:47:46 PDT 2018


On Sun, Apr 15, 2018 at 2:00 AM, Richard Weinberger <richard at nod.at> wrote:
> Am Samstag, 14. April 2018, 22:18:59 CEST schrieb Souptick Joarder:
>> Use new return type vm_fault_t for page_mkwrite handler.
>>
>> Signed-off-by: Souptick Joarder <jrdr.linux at gmail.com>
>> Reviewed-by: Matthew Wilcox <mawilcox at microsoft.com>
>
> Can we please get a little more context?
> Is this part of a patch series?


The plan for these patches is to introduce the typedef, initially just as
documentation ("These functions should return a VM_FAULT_ status").  We'll
trickle the patches to individual drivers/filesystems in through the
maintainers, as far as possible.  Then we'll change the typedef to an
unsigned int and break the compilation of any unconverted
drivers/filesystems.

The return value of page_mkwrite defined in vm_operations_struct has
changed to vm_fault_t type. So this patch is part of patch series which will
convert fault handlers for vm_operations_struct in each driver/file system.

The first patch is already merged into linus tree.
Commit Id -  1c8f422059ae5da07db7406ab916203f9417e396

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/?id=1c8f422059ae5da07db7406ab916203f9417e396


What is the target tree to carry this?

Target tree I am not sure.
We have plan to push it in 4.17 release.
I think Matthew is the right person to get this info.



More information about the linux-mtd mailing list