Fix comment formatting.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
This commit is contained in:
Konstantin Belousov 2016-10-28 10:59:34 +00:00
parent 8b3c8abc45
commit f220587d03
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308020

View File

@ -972,12 +972,14 @@ 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;