summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/msdosfs/msdosfs_fat.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/fs/msdosfs/msdosfs_fat.c b/sys/fs/msdosfs/msdosfs_fat.c
index 3c46c03..aba98af 100644
--- a/sys/fs/msdosfs/msdosfs_fat.c
+++ b/sys/fs/msdosfs/msdosfs_fat.c
@@ -1019,12 +1019,14 @@ extendfile(dep, count, bpp, ncp, flags)
while (count > 0) {
/*
* Allocate a new cluster chain and cat onto the end of the
- * file. * If the file is empty we make de_StartCluster point
- * to the new block. Note that de_StartCluster being 0 is
- * sufficient to be sure the file is empty since we exclude
- * attempts to extend the root directory above, and the root
- * dir is the only file with a startcluster of 0 that has
- * blocks allocated (sort of).
+ * file.
+ * If the file is empty we make de_StartCluster point
+ * to the new block. Note that de_StartCluster being
+ * 0 is sufficient to be sure the file is empty since
+ * we exclude attempts to extend the root directory
+ * above, and the root dir is the only file with a
+ * startcluster of 0 that has blocks allocated (sort
+ * of).
*/
if (dep->de_StartCluster == 0)
cn = 0;
OpenPOWER on IntegriCloud