5253 kmem_alloc/kmem_zalloc won't fail with KM_SLEEP 5254 getrbuf won't fail with KM_SLEEP
@@ -1481,13 +1481,11 @@ int rv; if (bd->d_ops.o_sync_cache == NULL) { return (ENOTSUP); } - if ((bp = getrbuf(KM_SLEEP)) == NULL) { - return (ENOMEM); - } + bp = getrbuf(KM_SLEEP); bp->b_resid = 0; bp->b_bcount = 0; xi = bd_xfer_alloc(bd, bp, bd->d_ops.o_sync_cache, KM_SLEEP); if (xi == NULL) {