]> sourceware.org Git - lvm2.git/commit
Revert unsuccessful table load preparation in combined "create, load and resume"...
authorPeter Rajnoha <prajnoha@redhat.com>
Wed, 28 Jul 2010 10:30:28 +0000 (10:30 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Wed, 28 Jul 2010 10:30:28 +0000 (10:30 +0000)
commitf89f7955fc7368405b72aad3e08294dbc561818d
tree9aa942e67416514ce24113706e705c8b199281bd
parent111c120e003a3eebc2c3452c1fef71e5087bd8dd
Revert unsuccessful table load preparation in combined "create, load and resume" scenario.

There was missing "revert" call in _create_and_load_v4 fn while the preparation
for table load ends up with failure in create/load/resume sequence. Otherwise
we could end up with a device being created, but not table-loaded nor resumed.

Even though the table is not loaded and the device is not resumed at this
stage, we still need to synchronize with udev when calling the revert
"remove" ioctl - there's still a remove uevent generated! The "revert"
code does exactly that.
libdm/ioctl/libdm-iface.c
This page took 0.033505 seconds and 5 git commands to generate.