summaryrefslogtreecommitdiffstats
path: root/sys/dev/xen/blkfront/blkfront.c
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2009-12-29 23:28:13 +0000
committergibbs <gibbs@FreeBSD.org>2009-12-29 23:28:13 +0000
commite1908d0f3d7b981cc76a4bceea780f9c74feb9a3 (patch)
tree5be79aeaf3fb07551fdc561a324036946a38d097 /sys/dev/xen/blkfront/blkfront.c
parentb9ca89bfc495774b5fe49e23a272c721c840f68b (diff)
downloadFreeBSD-src-e1908d0f3d7b981cc76a4bceea780f9c74feb9a3.zip
FreeBSD-src-e1908d0f3d7b981cc76a4bceea780f9c74feb9a3.tar.gz
Correct bug introduced while purging the -ERRNO Linuxism from the
grant table API. Valid grant refs are in the range of positive 32bit integers. ENOSPACE, being 29, is also a positive integer. Return GNTTAB_LIST_END (-1) instead when gnttab_claim_grant_reference() fails.
Diffstat (limited to 'sys/dev/xen/blkfront/blkfront.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud