• Badari Pulavarty's avatar
    [PATCH] embarrassing 2.5.31 small bug fix for blkdev_reread_part() · 192b4702
    Badari Pulavarty authored
    Here is a trivial bug fix for blkdev_reread_part() in 2.5.31.
    Without this fix,  "fdisk" hangs with following messages:
    
    	Calling ioctl() to re-read partition table.
    
    	WARNING: Re-reading the partition table failed with error 16:
    			Device or resource busy.
    	The kernel still uses the old table.
    	The new table will be used at the next reboot.
    192b4702
block_dev.c 20.7 KB