From 36e6fbca26a60b2d48001dc1d941aa8b41e2f6b8 Mon Sep 17 00:00:00 2001 From: shadow Date: Fri, 24 Apr 2009 09:04:38 +0000 Subject: [PATCH] fix typo founded by maxim. Branch HEAD --- lustre/include/lustre_capa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/lustre_capa.h b/lustre/include/lustre_capa.h index 7f65a44..4e12392 100644 --- a/lustre/include/lustre_capa.h +++ b/lustre/include/lustre_capa.h @@ -192,7 +192,7 @@ static inline struct obd_capa *alloc_capa(int site) if (unlikely(site != CAPA_SITE_CLIENT && site != CAPA_SITE_SERVER)) return ERR_PTR(-EINVAL); - OBD_SLAB_ALLOC(ocapa, capa_cachep, GFP_KERNEL, sizeof(*ocapa)); + OBD_SLAB_ALLOC_PTR(ocapa, capa_cachep); if (unlikely(!ocapa)) return ERR_PTR(-ENOMEM); -- 1.8.3.1