commit | 4bcddbae019df2614ea36976ba3d36313f93c6d3 | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Mon Aug 13 16:01:12 2018 +0200 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Aug 27 12:12:03 2018 -0400 |
tree | 61fb31f98a5dbc8c80c1a70fcf28a11f5a61069b | |
parent | a46b53672b2c2e3770b38a4abf90d16364d2584b [diff] |
xen/blkfront: reorder tests in xlblk_init() In case we don't want pv block devices we should not test parameters for sanity and eventually print out error messages. So test precluding conditions before checking parameters. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Roger Pau Monné <roger.pau@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>