diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2011-08-02 12:32:06 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-08-02 12:32:06 +0100 |
commit | 759dea204cce9f1fc2a5d00ea25211299fc7a4a0 (patch) | |
tree | 3ddbfdc0c4cb97317ea0d0d7bb6879fcac72b840 /drivers/md/dm-log.c | |
parent | ba2e19b0f4ccd6920fe175a86521ff18ede260cb (diff) |
dm ioctl: forbid multiple device specifiers
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>
Diffstat (limited to 'drivers/md/dm-log.c')
0 files changed, 0 insertions, 0 deletions