Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2016 11:01:49 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308021 - head/sys/fs/msdosfs
Message-ID:  <201610281101.u9SB1nKJ091887@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Oct 28 11:01:49 2016
New Revision: 308021
URL: https://svnweb.freebsd.org/changeset/base/308021

Log:
  Use symbolic name for the free cluster number.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	2 weeks

Modified:
  head/sys/fs/msdosfs/msdosfs_fat.c

Modified: head/sys/fs/msdosfs/msdosfs_fat.c
==============================================================================
--- head/sys/fs/msdosfs/msdosfs_fat.c	Fri Oct 28 10:59:34 2016	(r308020)
+++ head/sys/fs/msdosfs/msdosfs_fat.c	Fri Oct 28 11:01:49 2016	(r308021)
@@ -908,7 +908,7 @@ fillinusemap(struct msdosfsmount *pmp)
 			readcn >>= 4;
 		readcn &= pmp->pm_fatmask;
 
-		if (readcn == 0)
+		if (readcn == CLUST_FREE)
 			usemap_free(pmp, cn);
 	}
 	if (bp != NULL)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610281101.u9SB1nKJ091887>