Whamcloud - gitweb
land b1_5 onto HEAD
[fs/lustre-release.git] / lustre / kernel_patches / patches / uml-2.4.20-do_mmap_pgoff-fix.patch
1  arch/i386/kernel/sys_i386.c |    2 +-
2  1 files changed, 1 insertion(+), 1 deletion(-)
3
4 --- linux-2.4.20-vanilla/arch/i386/kernel/sys_i386.c~uml-2.4.20-do_mmap_pgoff-fix       2001-03-19 23:35:09.000000000 +0300
5 +++ linux-2.4.20-vanilla-alexey/arch/i386/kernel/sys_i386.c     2003-09-15 10:26:19.000000000 +0400
6 @@ -56,7 +56,7 @@ static inline long do_mmap2(
7         }
8  
9         down_write(&current->mm->mmap_sem);
10 -       error = do_mmap_pgoff(file, addr, len, prot, flags, pgoff);
11 +       error = do_mmap_pgoff(current->mm, file, addr, len, prot, flags, pgoff);
12         up_write(&current->mm->mmap_sem);
13  
14         if (file)
15
16 _