Whamcloud - gitweb
LU-56 libcfs: NUMA allocator and code cleanup
[fs/lustre-release.git] / lustre / osc / osc_quota.c
index efc0bbd..3d2b45b 100644 (file)
@@ -97,7 +97,7 @@ static struct osc_quota_info *alloc_qinfo(struct client_obd *cli,
         struct osc_quota_info *oqi;
         ENTRY;
 
-        OBD_SLAB_ALLOC(oqi, qinfo_cachep, CFS_ALLOC_IO, sizeof(*oqi));
+       OBD_SLAB_ALLOC_PTR(oqi, qinfo_cachep);
         if(!oqi)
                 RETURN(NULL);