Page MenuHomeFreeBSD

D34264.diff
No OneTemporary

D34264.diff

diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c
--- a/sys/fs/msdosfs/msdosfs_vfsops.c
+++ b/sys/fs/msdosfs/msdosfs_vfsops.c
@@ -577,7 +577,6 @@
goto error_exit;
}
- pmp->pm_HugeSectors *= pmp->pm_BlkPerSec;
if ((off_t)pmp->pm_HugeSectors * pmp->pm_BytesPerSec <
pmp->pm_HugeSectors /* overflow */ ||
(off_t)pmp->pm_HugeSectors * pmp->pm_BytesPerSec >
@@ -586,6 +585,7 @@
goto error_exit;
}
+ pmp->pm_HugeSectors *= pmp->pm_BlkPerSec;
pmp->pm_HiddenSects *= pmp->pm_BlkPerSec; /* XXX not used? */
pmp->pm_FATsecs *= pmp->pm_BlkPerSec;
SecPerClust *= pmp->pm_BlkPerSec;

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 28, 12:04 AM (9 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16225519
Default Alt Text
D34264.diff (646 B)

Event Timeline