return -ENOMEM;
op->info.optype = GDLM_PLOCK_OP_LOCK;
- op->info.pid = (uint32_t) fl->fl_owner;
+ op->info.pid = fl->fl_pid;
op->info.ex = (fl->fl_type == F_WRLCK);
op->info.wait = IS_SETLKW(cmd);
op->info.fsid = ls->id;
name->ln_type, name->ln_number);
op->info.optype = GDLM_PLOCK_OP_UNLOCK;
- op->info.pid = (uint32_t) fl->fl_owner;
+ op->info.pid = fl->fl_pid;
op->info.fsid = ls->id;
op->info.number = name->ln_number;
op->info.start = fl->fl_start;
return -ENOMEM;
op->info.optype = GDLM_PLOCK_OP_GET;
- op->info.pid = (uint32_t) fl->fl_owner;
+ op->info.pid = fl->fl_pid;
op->info.ex = (fl->fl_type == F_WRLCK);
op->info.fsid = ls->id;
op->info.number = name->ln_number;