Re: 1.3.26 -> oops in get_write_access

Janos Farkas (chexum@bankinf.banki.hu)
Fri, 15 Sep 1995 15:59:28 +0200 (MET DST)


It's another missed piece of the task->mm changes, FYI, it's still in
1.3.27.. Just a quick & dirty fix, but really worked.. :)

BTW, nothing lpd related.. :)

--- linux/fs/namei.c.orig Fri Sep 15 15:47:43 1995
+++ linux/fs/namei.c Fri Sep 15 15:51:39 1995
@@ -129,6 +129,8 @@
struct vm_area_struct * mpnt;
if (!*p)
continue;
+ if (!((*p)->mm)) /* I don't trust precedence :) */
+ continue;
for(mpnt = (*p)->mm->mmap; mpnt; mpnt = mpnt->vm_next) {
if (inode != mpnt->vm_inode)
continue;