[Bug 1003103] mkfs.ext4 hangs on 1GB RAM disk
http://bugzilla.suse.com/show_bug.cgi?id=1003103 http://bugzilla.suse.com/show_bug.cgi?id=1003103#c2 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P4 - Low Status|NEW |IN_PROGRESS --- Comment #2 from Jan Kara <jack@suse.com> --- OK, it looks like a bug in the ramdisk driver. The problem is that rd_size argument is stored in 'int' and furthermore multiplied by 2 to get number of sectors the device should have. With rd_size == 1<<30 this overflows resulting in the device having absurdly large size which then confuses mkfs.ext4. I'll send a patch to fix this in brd driver and also add a defensive check to mkfs.ext4. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com