* Author: Niu YaWei <niu@clusterfs.com>
*/
-#ifndef EXPORT_SYMTAB
-# define EXPORT_SYMTAB
-#endif
-
#define DEBUG_SUBSYSTEM S_LQUOTA
#include <linux/version.h>
struct lustre_qunit *qunit, *find_qunit;
int cycle = 1;
- OBD_SLAB_ALLOC(qunit, qunit_cachep, CFS_ALLOC_IO, sizeof(*qunit));
+ OBD_SLAB_ALLOC_PTR(qunit, qunit_cachep);
if (qunit == NULL) {
CERROR("locating %sunit failed for %sid %u\n",
isblk ? "b" : "i", oqctl->qc_type ? "g" : "u",