Changes by: antona
Update of /cvsroot/linux-ntfs/ntfs-misc/rl_test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22247
Modified Files:
rl.c
Log Message:
fix a silly bug.
Index: rl.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfs-misc/rl_test/rl.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -p -r1.1.1.1 -r1.2
--- rl.c 13 Apr 2005 16:29:19 -0000 1.1.1.1
+++ rl.c 7 Sep 2005 23:25:34 -0000 1.2
@@ -497,6 +497,7 @@ runlist_element *ntfs_merge_runlists(run
/* Scan to the end of the source runlist. */
for (dend = 0; likely(drl[dend].length); dend++)
;
+ dend++;
drl = ntfs_rl_realloc(drl, dend, dend + 1);
if (IS_ERR(drl))
return drl;
@@ -1055,7 +1056,7 @@ void zero (void)
return;
MKRL(bob+0, 10, 99, 5)
- MKRL(bob+1, 0, LCN_RL_NOT_MAPPED, 0)
+ MKRL(bob+1, 15, LCN_RL_NOT_MAPPED, 0)
jim = ntfs_merge_runlists (jim, bob);
if (IS_ERR(jim))
|