Re: mmap()'d file contents disappear

TANAKA Yoshitomo (serow@silkwood.rim.or.jp)
Sun, 28 Apr 1996 12:55:34 +0900


>> On Sat, 27 Apr 1996 12:31:59 +0300 (EET DST), Linus Torvalds
>> <torvalds@cs.Helsinki.FI> said about fix for 1.3.95:

Linus> In the file linux/mm/filemap.c, function filemap_sync(), there
Linus> is a line that says:

Linus> dir = pgd_offset(current->mm, address);

Linus> but it should be

Linus> dir = pgd_offset(vma->vm_mm, address);

Linus> (ie change "current->mm" into "vma->vm_mm"). Does that fix the
Linus> problem for you?

It seems GOOD.
Thanks!

----_--__---_-_-_-__--_-__-__---_-_----_--_-_---_---_----
_/ TANAKA Yoshitomo _//
/ Suginami-ku Tokyo, Japan _// serow@silkwood.rim.or.jp