diff options
author | Bob Liu <bob.liu@oracle.com> | 2015-07-22 06:40:09 (GMT) |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2015-07-24 13:09:16 (GMT) |
commit | 7b0767502b5db11cb1f0daef2d01f6d71b1192dc (patch) | |
tree | 602757756fa51dbe32b67fbd584495ab58edb69c /drivers/block/xen-blkback | |
parent | d50babbe300eedf33ea5b00a12c5df3a05bd96c7 (diff) | |
download | linux-7b0767502b5db11cb1f0daef2d01f6d71b1192dc.tar.xz |
xen-blkfront: don't add indirect pages to list when !feature_persistent
We should consider info->feature_persistent when adding indirect page to list
info->indirect_pages, else the BUG_ON() in blkif_free() would be triggered.
When we are using persistent grants the indirect_pages list
should always be empty because blkfront has pre-allocated enough
persistent pages to fill all requests on the ring.
CC: stable@vger.kernel.org
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Bob Liu <bob.liu@oracle.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