]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/md/dm-ioctl.c
dm ioctl: return uevent flag after rename
authorPeter Rajnoha <prajnoha@redhat.com>
Thu, 12 Aug 2010 03:13:53 +0000 (04:13 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:13:53 +0000 (04:13 +0100)
commit856a6f1dbd8940e72755af145ebcd806408ecedd
treee9fcdd440e5a4dbc58ffe59699b918d34b1cdd21
parent094ea9a071f68bd6f56c3f8cdeb5263727b68ce9
dm ioctl: return uevent flag after rename

All the dm ioctls that generate uevents set the DM_UEVENT_GENERATED flag so
that userspace knows whether or not to wait for a uevent to be processed
before continuing,

The dm rename ioctl sets this flag but was not structured to return it
to userspace.  This patch restructures the rename ioctl processing to
behave like the other ioctls that return data and so fix this.

Signed-off-by: Peter Rajnoha <prajnoha@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-ioctl.c