Messages in this thread Patch in this message | | | Date | Mon, 8 Nov 1999 15:21:42 +1100 | From | Michael McCormack <> | Subject | PATCH: 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/
| |