]> 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, 25 Jul 2011 00:49:57 +0000 (10:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 25 Jul 2011 00:49:57 +0000 (10:49 +1000)
commit88764c12f00f673a18e426e05ece293f38167022
tree148f3f4c3884dd269ec742d9f226c3c7533cd160
parentcd7734b22c628d6d29fea4a383ba41eab8491c2e
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