struct lquota_id_info *qi, struct osd_object *obj,
bool enforce, int *flags)
{
- struct osd_thread_info *info = osd_oti_get(env);
- struct osd_device *dev = info->oti_dev;
+ struct osd_device *dev = osd_dt_dev(oh->ot_super.th_dev);
struct qsd_instance *qsd = dev->od_quota_slave;
struct inode *inode = NULL;
int i, rc = 0, crd;