xen-blkback: advertise indirect segment support earlier
authorJan Beulich <JBeulich@suse.com>
Wed, 10 Feb 2016 11:18:10 +0000 (04:18 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 3 Mar 2016 21:45:53 +0000 (14:45 -0700)
commit5a7058450cbc8702f976d1f444974485c70cb525
tree7a1eb1d38f696802a4af1eb69b2c513885931eaf
parent14e710fe7897e37762512d336ab081c57de579a4
xen-blkback: advertise indirect segment support earlier

There's no reason to defer this until the connect phase, and in fact
there are frontend implementations expecting this to be available
earlier. Move it into the probe function.

Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/xenbus.c