HomeFreeBSD

Fix -S with -l not being atomic.

Description

Fix -S with -l not being atomic.

It was unlinking the target even though it uses rename(2) which already
effectively does that. -S is intended to not unlink(2) the target first.

MFC after: 1 week
Reviewed by: jhb
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D7452

Details

Provenance
bdreweryAuthored on
Reviewer
jhb
Differential Revision
D7452: Fix -S with -l not being atomic.
Parents
rS303930: Support -v for -l.
Branches
Unknown
Tags
Unknown