diff options
| author | christos <christos@NetBSD.org> | 2020-01-14 19:29:45 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2020-01-14 19:29:45 +0000 |
| commit | c346cf9cf7a96b97510b8164defdf75d2c2152cf (patch) | |
| tree | 472753626aecd9f3a0a9fe5a498c5d512d4b6d15 /sys/dev | |
| parent | 360ed867f0dfee0b614edc06c1122fcf996bf676 (diff) | |
In the extract atomic case, remove the destination hard link first
since it did not get removed before for us. If we wanted to do this
right, we would do the mk*temp() file generation and trying to link
instead of open, and finally when we got the link to succeed, we
would rename the temp link to the final destination name, making
hard link creation atomic. For now we just remove first.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
