Use symbolic name for the free cluster number.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
This commit is contained in:
Konstantin Belousov 2016-10-28 11:01:49 +00:00
parent f220587d03
commit 1c4ec415e2

View File

@ -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)