dm ioctl: prevent empty message
authorAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:03 +0000 (12:32 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:03 +0000 (12:32 +0100)
commit2ca4c92f58f9386e080b26f9ccd78c9ca5825a42
tree638f6e97f829cdf8cfc090dabff9213dc50db149
parent13c87583ea4e867211fc3e7edab750c353c47c95
dm ioctl: prevent empty message

Detect invalid empty messages in core dm instead of requiring every target to
check this.

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