lkml.org 
[lkml]   [1999]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: NTFS mmap problem solved

hello everybody,

i have resolved a problem in the 2.2.13 kernel ntfs code, that
caused the incorrect blocks to be mmap'ed.

Mike

--- linux/fs/ntfs/inode.c.1 Mon Nov 8 15:00:54 1999
+++ linux/fs/ntfs/inode.c Mon Nov 8 15:01:14 1999
@@ -612,7 +612,7 @@
return 0;

for(rnum=0;rnum<data->d.r.len &&
- vcn>data->d.r.runlist[rnum].len;rnum++)
+ vcn>=data->d.r.runlist[rnum].len;rnum++)
vcn-=data->d.r.runlist[rnum].len;

return data->d.r.runlist[rnum].cluster+vcn;
--

__________________________________________________________________
mailto:Michael.McCormack@alcatel.com.au phone: (+612) 9690 5305


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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