1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
This commit is contained in:
Konstantin Belousov 2017-08-28 21:04:56 +00:00
parent fbcbbe78dc
commit 4eeec01fee
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322984

View File

@ -888,12 +888,12 @@ freeclusterchain(struct msdosfsmount *pmp, u_long cluster)
int
fillinusemap(struct msdosfsmount *pmp)
{
struct buf *bp = NULL;
u_long cn, readcn;
struct buf *bp;
u_long bn, bo, bsize, byteoffset, cn, readcn;
int error;
u_long bn, bo, bsize, byteoffset;
MSDOSFS_ASSERT_MP_LOCKED(pmp);
bp = NULL;
/*
* Mark all clusters in use, we mark the free ones in the FAT scan