msdosfs: reformat a comment to reduce NetBSD diffs

This commit is contained in:
Ed Maste 2017-06-22 01:11:20 +00:00
parent 6d7963ecd4
commit 1f7d7cd76a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320209

View File

@ -999,14 +999,12 @@ extendfile(struct denode *dep, u_long count, struct buf **bpp, u_long *ncp,
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;