diff options
author | Bob Liu <[email protected]> | 2015-07-22 14:40:09 +0800 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2015-07-24 09:09:16 -0400 |
commit | 7b0767502b5db11cb1f0daef2d01f6d71b1192dc (patch) | |
tree | 602757756fa51dbe32b67fbd584495ab58edb69c /net/lapb | |
parent | d50babbe300eedf33ea5b00a12c5df3a05bd96c7 (diff) |
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: [email protected]
Acked-by: Roger Pau Monné <[email protected]>
Signed-off-by: Bob Liu <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions