x86/xen: fix 'nopvspin' build error
[sfrench/cifs-2.6.git] / block / blk-core.c
index ac00d2fa4eb48d1014c64735bbfa6a961780289c..2db8bda43b6e6d8dd94d91526987b26e5954f290 100644 (file)
@@ -186,6 +186,10 @@ static const struct {
        /* device mapper special case, should not leak out: */
        [BLK_STS_DM_REQUEUE]    = { -EREMCHG, "dm internal retry" },
 
+       /* zone device specific errors */
+       [BLK_STS_ZONE_OPEN_RESOURCE]    = { -ETOOMANYREFS, "open zones exceeded" },
+       [BLK_STS_ZONE_ACTIVE_RESOURCE]  = { -EOVERFLOW, "active zones exceeded" },
+
        /* everything else not covered above: */
        [BLK_STS_IOERR]         = { -EIO,       "I/O" },
 };