Hello,
i just applied the patches from aufs3-standalone_aufs3.12-20140303 to
linux-3.12.51 from kernel.org. I received an error when applying
aufs3-mmap.patch:
# patch --silent -E -p1 -i aufs3-standalone/aufs3-mmap.patch
>> 1 out of 1 hunk FAILED -- saving rejects to file mm/fremap.c.rej
# cat mm/fremap.c.rej
>> *************** get_write_lock:
>> *** 207,217 ****
>> */
>> if (mapping_cap_account_dirty(mapping)) {
>> unsigned long addr;
>> - struct file *file = get_file(vma->vm_file);
>>
>> addr = mmap_region(file, start, size,
>> vma->vm_flags, pgoff);
>> - fput(file);
>> if (IS_ERR_VALUE(addr)) {
>> err = addr;
>> } else {
>> --- 207,218 ----
>> */
>> if (mapping_cap_account_dirty(mapping)) {
>> unsigned long addr;
>> + struct file *file = vma->vm_file;
>>
>> + vma_get_file(vma);
>> addr = mmap_region(file, start, size,
>> vma->vm_flags, pgoff);
>> + vma_fput(vma);
>> if (IS_ERR_VALUE(addr)) {
>> err = addr;
>> } else {
Did someone notice something similar? On which version of linux-3.12 does
the patch succeed?
When i have a look at the patch itself there must be only a small problem
(which i could workaround), but i would like to be sure.
Rüdiger
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech