]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Exactly one of name, uuid or device must be specified when referencing
authorMikulas Patocka <mpatocka@redhat.com>
Mon, 1 Aug 2011 00:51:07 +0000 (10:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 1 Aug 2011 00:51:07 +0000 (10:51 +1000)
commit31576954432db4076a030d9e33698a1ebe17c95d
treeb4438c84d2dffd7dca3a937932956da7ac5b9a8a
parente49a4ddf1940eea28dfc09974e1354c55bfb08ee
Exactly one of name, uuid or device must be specified when referencing
an existing device.  This removes the ambiguity (risking the wrong
device being updated) if two conflicting parameters were specified.
Previously one parameter got used and any others were ignored silently.

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