OSDN Git Service

_disk_sync_part_table: revise yet again
authorJim Meyering <meyering@redhat.com>
Mon, 26 Jan 2009 15:24:52 +0000 (16:24 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 26 Jan 2009 18:08:07 +0000 (19:08 +0100)
commitfae811d0967e63ebd17191f033ee843558f4965c
tree837082d20a726b2b6e7c466d86a1af998376958e
parent2f9e1487890697c7f9dac33842e634081b4cca89
_disk_sync_part_table: revise yet again

This fixes a bug whereby parted could leave the kernel with an
erroneous view of a partition table.
* libparted/arch/linux.c (_disk_sync_part_table): Per analysis in
http://thread.gmane.org/gmane.comp.gnu.parted.devel/2297/focus=2307.
Patch suggested by Petr Uzel.
libparted/arch/linux.c