diff options
author | Juergen Gross <jgross@suse.com> | 2018-08-13 17:01:12 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2018-08-27 19:12:03 +0300 |
commit | 4bcddbae019df2614ea36976ba3d36313f93c6d3 (patch) | |
tree | 61fb31f98a5dbc8c80c1a70fcf28a11f5a61069b /drivers/block/xen-blkback | |
parent | a46b53672b2c2e3770b38a4abf90d16364d2584b (diff) | |
download | linux-4bcddbae019df2614ea36976ba3d36313f93c6d3.tar.xz |
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>
Diffstat (limited to 'drivers/block/xen-blkback')
0 files changed, 0 insertions, 0 deletions