OSDN Git Service

libparted: push/pop update mode around ped_disk_set_flag
authorHans de Goede <hdegoede@redhat.com>
Thu, 17 Dec 2009 09:27:39 +0000 (10:27 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 18 Dec 2009 13:00:47 +0000 (14:00 +0100)
commit837c9c9d5a21ce14c6e4a48de7f98201ef0fd525
tree588bf21cb6ff8272f9b2f45d320f5fbf2f64d959
parentd5b3f617e0da00b37aad786ce9b1091825e2c062
libparted: push/pop update mode around ped_disk_set_flag

Disk flags can change how the metadata gets allocated, so push/pop
update mode around ops->disk_set_flag, so that the metadata gets
re-allocated.
* libparted/disk.c (ped_disk_set_flag): push/pop update mode.
libparted/disk.c