sf...@users.sourceforge.net:
> Since this fput/vma_fput is between up(mmap_sem) and down(mmap_sem),
> vma_fput() is not protected, and got vm_file NULL unexpectedly. It
> means vma->vm_file is changed (or being changed) by someone else (other
> thread in your case) after up_read(&mm->mmap_sem). This is surely a bug
> in aufs[34]-mmap.patch. It shoule be done such like this essentially.
>       get_file(file);
>       pr = vma->vm_prfile;
>               ;;;
>       fput(file);
>       if (pr)
>               fput(pr);
>
> The fix will look a little smarter than above.
> I hope I can post the fix in a few weeks.

Here is the fix.
I am going to test and release in a few weeks, hopefully.


J. R. Okajima

Attachment: a.patch.bz2
Description: BZip2 compressed data

------------------------------------------------------------------------------

Reply via email to