Rev 4368 | Rev 4409 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4368 | Rev 4370 | ||
|---|---|---|---|
| Line 288... | Line 288... | ||
| 288 | } |
288 | } |
| 289 | 289 | ||
| 290 | /* handle hit */ |
290 | /* handle hit */ |
| 291 | if (lflag & L_UNLINK) { |
291 | if (lflag & L_UNLINK) { |
| 292 | unsigned old_lnkcnt = ops->lnkcnt_get(cur); |
292 | unsigned old_lnkcnt = ops->lnkcnt_get(cur); |
| 293 | int res = ops->unlink(par, cur); |
293 | int res = ops->unlink(par, cur, component); |
| 294 | ipc_answer_5(rid, (ipcarg_t)res, fs_handle, dev_handle, |
294 | ipc_answer_5(rid, (ipcarg_t)res, fs_handle, dev_handle, |
| 295 | ops->index_get(cur), ops->size_get(cur), old_lnkcnt); |
295 | ops->index_get(cur), ops->size_get(cur), old_lnkcnt); |
| 296 | goto out; |
296 | goto out; |
| 297 | } |
297 | } |
| 298 | if (((lflag & (L_CREATE | L_EXCLUSIVE)) == (L_CREATE | L_EXCLUSIVE)) || |
298 | if (((lflag & (L_CREATE | L_EXCLUSIVE)) == (L_CREATE | L_EXCLUSIVE)) || |