Rev 2755 | Rev 2763 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2755 | Rev 2761 | ||
---|---|---|---|
Line 411... | Line 411... | ||
411 | } |
411 | } |
412 | async_wait_for(req, &rc); |
412 | async_wait_for(req, &rc); |
413 | async_serialize_end(); |
413 | async_serialize_end(); |
414 | futex_up(&vfs_phone_futex); |
414 | futex_up(&vfs_phone_futex); |
415 | free(pa); |
415 | free(pa); |
416 | return EOK; |
416 | return rc; |
417 | } |
417 | } |
418 | 418 | ||
419 | static int _unlink(const char *path, int lflag) |
419 | static int _unlink(const char *path, int lflag) |
420 | { |
420 | { |
421 | int res; |
421 | int res; |
Line 453... | Line 453... | ||
453 | } |
453 | } |
454 | async_wait_for(req, &rc); |
454 | async_wait_for(req, &rc); |
455 | async_serialize_end(); |
455 | async_serialize_end(); |
456 | futex_up(&vfs_phone_futex); |
456 | futex_up(&vfs_phone_futex); |
457 | free(pa); |
457 | free(pa); |
458 | return EOK; |
458 | return rc; |
459 | } |
459 | } |
460 | 460 | ||
461 | int unlink(const char *path) |
461 | int unlink(const char *path) |
462 | { |
462 | { |
463 | return _unlink(path, L_NONE); |
463 | return _unlink(path, L_NONE); |