Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108631535
D34264.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
646 B
Referenced Files
None
Subscribers
None
D34264.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D34264: msdosfs: Fix mounting when the device sector size is >512B
Attached
Detach File
Event Timeline
Log In to Comment