From 1564a5b72e47b91c1f917179db48270ba9d36111 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Sat, 6 Mar 2004 17:42:28 +0000 Subject: [PATCH] Auto merged 2004/01/15 16:58:19+00:00 cantab.net!aia21 Auto merged 2004/01/07 15:48:41+00:00 cantab.net!aia21 Auto merged 2003/11/04 13:06:21+00:00 cantab.net!aia21 Auto merged 2003/10/28 15:55:31+00:00 flatcap.org!ntfs move comment to help folding (Logical change 1.299) --- libntfs/lcnalloc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libntfs/lcnalloc.c b/libntfs/lcnalloc.c index f6ad5708..a616e8af 100644 --- a/libntfs/lcnalloc.c +++ b/libntfs/lcnalloc.c @@ -33,7 +33,6 @@ #include "volume.h" #include "lcnalloc.h" - /** * ntfs_cluster_alloc - allocate clusters on an ntfs volume * @vol: mounted ntfs volume on which to allocate the clusters @@ -88,10 +87,11 @@ * removing the duplicate logic requires _very_ careful consideration of _all_ * possible code paths. So at least for now, I am leaving the double logic - * better safe than sorry... (AIA) + * + * FIXME: Add a start_vcn parameter if we need it and then instead of setting + * rl[rlpos].vcn = 0; for the first run, add a sparse start element (LCN_HOLE), + * and make rl[rlpos].vcn = start_vcn; for the first non-sparse run. (AIA) */ -// FIXME: Add a start_vcn parameter if we need it and then instead of setting -// rl[rlpos].vcn = 0; for the first run, add a sparse start element (LCN_HOLE), -// and make rl[rlpos].vcn = start_vcn; for the first non-sparse run. (AIA) runlist *ntfs_cluster_alloc(ntfs_volume *vol, s64 count, LCN start_lcn, const NTFS_CLUSTER_ALLOCATION_ZONES zone) {