xen/blkback: move persistent grants flags to bool
authorJuergen Gross <jgross@suse.com>
Mon, 13 Aug 2018 14:01:13 +0000 (16:01 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 27 Aug 2018 16:12:04 +0000 (12:12 -0400)
commitd77ff24e7fa2258877fa0b87efa06b9a58a37aab
treef565def0002a001f377daeafc317e1ad311b5574
parent4bcddbae019df2614ea36976ba3d36313f93c6d3
xen/blkback: move persistent grants flags to bool

The struct persistent_gnt flags member is meant to be a bitfield of
different flags. There is only PERSISTENT_GNT_ACTIVE flag left, so
convert it to a bool named "active".

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>
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h