* - lquota_disk_update_ver: update version of an index file
*/
-#ifndef EXPORT_SYMTAB
-# define EXPORT_SYMTAB
-#endif
-
#define DEBUG_SUBSYSTEM S_LQUOTA
#include "lquota_internal.h"
GOTO(out, rc);
parent = dt_locate_at(env, dev, &qti->qti_fid,
- dev->dd_lu_dev.ld_site->ls_top_dev);
+ dev->dd_lu_dev.ld_site->ls_top_dev, NULL);
if (IS_ERR(parent))
GOTO(out, rc = PTR_ERR(parent));
} else {
CDEBUG(D_QUOTA, "look-up/create %sglobal idx file ("DFID")\n",
local ? "local " : "", PFID(fid));
-#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2,7,50,0)
+#if LUSTRE_VERSION_CODE < OBD_OCD_VERSION(2, 7, 53, 0)
/* we use different index feature for each quota type and target type
* for the time being. This is done for on-disk conversion from the old
* quota format. Once this is no longer required, we should just be
* using dt_quota_glb_features for all global index file */
idx_feat = glb_idx_feature(fid);
#else
-#warning "remove old quota compatibility code"
idx_feat = &dt_quota_glb_features;
#endif
rc = dt_insert(env, obj, (struct dt_rec *)&qti->qti_rec,
key, th, BYPASS_CAPA, 1);
LASSERTF(rc == 0, "failed to insert record in quota "
- "index "DFID,
+ "index "DFID"\n",
PFID(lu_object_fid(&obj->do_lu)));
GOTO(out, rc);
}