struct ll_sb_info *sbi = ll_i2sbi(inode);
struct ptlrpc_request *req = NULL;
struct mdt_remote_perm *perm;
- struct obd_capa *oc;
cfs_time_t save;
int i = 0, rc;
ENTRY;
LBUG();
}
- oc = ll_mdscapa_get(inode);
- rc = md_get_remote_perm(sbi->ll_md_exp, ll_inode2fid(inode), oc,
- ll_i2suppgid(inode), &req);
- capa_put(oc);
+ rc = md_get_remote_perm(sbi->ll_md_exp, ll_inode2fid(inode),
+ ll_i2suppgid(inode), &req);
if (rc) {
mutex_unlock(&lli->lli_rmtperm_mutex);
break;