]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e259c48b1e465aba77fa4ae222eed22defc7648
treee9fcdd440e5a4dbc58ffe59699b918d34b1cdd21
parent9c6f8a4e444a2d426cd3517dbfcbf6a1e701924d
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