dm ioctl: remove __dev_status from geometry and target message
authorPeter Rajnoha <prajnoha@redhat.com>
Thu, 12 Aug 2010 03:13:52 +0000 (04:13 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 12 Aug 2010 03:13:52 +0000 (04:13 +0100)
commit6be544940109b4c45f560785fe5798ce3fdc1922
tree46307861cfa5d9cc00ba936a0db76aa5feac5226
parentc24110450650f17f7d3ba4fbe01f01ac5a115456
dm ioctl: remove __dev_status from geometry and target message

Remove useless __dev_status call while processing an ioctl that sets up
device geometry and target message.  The data is not returned to
userspace so there is no point collecting it and in the case of
target_message it is collected before processing the message so if it
did return it might be stale.

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