diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2013-03-18 17:49:33 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-03-19 08:53:15 -0400 |
commit | 217fd5e709f029c125a9d39de5f13387407f131a (patch) | |
tree | 0a288b4f23256fda388ccb0528074399320f7477 /drivers/block/xen-blkfront.c | |
parent | 29d0b218c87ace1078e08bb32c2e72fc96fa3db3 (diff) | |
download | op-kernel-dev-217fd5e709f029c125a9d39de5f13387407f131a.zip op-kernel-dev-217fd5e709f029c125a9d39de5f13387407f131a.tar.gz |
xen-blkback: fix foreach_grant_safe to handle empty lists
We may use foreach_grant_safe in the future with empty lists, so make
sure we can handle them.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: xen-devel@lists.xen.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
0 files changed, 0 insertions, 0 deletions