xen/blkback: Make optional features be really optional.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 14 Mar 2012 17:04:00 +0000 (13:04 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 24 Mar 2012 14:04:36 +0000 (10:04 -0400)
They were using the xenbus_dev_fatal() function which would
change the state of the connection immediately. Which is not
what we want when we advertise optional features.

So make 'feature-discard','feature-barrier','feature-flush-cache'
optional.

Suggested-by: Jan Beulich <JBeulich@suse.com>
[v1: Made the discard function void and static]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

No differences found