fdisk: reinstate a short sleep between sync() and ioctl(BLKRRPART)
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 13 Jul 2011 07:06:32 +0000 (09:06 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 13 Jul 2011 07:06:32 +0000 (09:06 +0200)
commit80856b37e888612c054158b9fa8a0021dbf8dadf
treef01a23fb58e9afb1a0276907d0f358ba82cd0f7c
parenta669eca3a230e35e4a6894a30168a047000f3b75
fdisk: reinstate a short sleep between sync() and ioctl(BLKRRPART)

While at it, simplify code a bit.

function                                             old     new   delta
write_table                                          201     198      -3

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/fdisk.c