Date: Fri, 11 Nov 2016 19:31:06 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r308541 - stable/11/sys/fs/msdosfs Message-ID: <201611111931.uABJV6t7096233@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Nov 11 19:31:06 2016 New Revision: 308541 URL: https://svnweb.freebsd.org/changeset/base/308541 Log: MFC r308021: Use symbolic name for the free cluster number. Modified: stable/11/sys/fs/msdosfs/msdosfs_fat.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/fs/msdosfs/msdosfs_fat.c ============================================================================== --- stable/11/sys/fs/msdosfs/msdosfs_fat.c Fri Nov 11 19:29:01 2016 (r308540) +++ stable/11/sys/fs/msdosfs/msdosfs_fat.c Fri Nov 11 19:31:06 2016 (r308541) @@ -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?201611111931.uABJV6t7096233>