lkml.org 
[lkml]   [1996]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: mmap()'d file contents disappear
Date
From
>> 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


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.056 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site