diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2018-09-07 13:11:03 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-09-10 15:46:47 +0100 |
commit | 322f4a517ae336cc1443f9a399a0d15d45ec48b9 (patch) | |
tree | 9d295540adbe4be3b13ad85fb58021f0c8bc3e00 /AUTHORS | |
parent | d84c1cd6dedf51a8ed7b1a511585c0ac2db0f083 (diff) | |
download | sos-322f4a517ae336cc1443f9a399a0d15d45ec48b9.tar.gz |
[archive] add link follow-up to FileCacheArchive.add_link()
Creating a link may trigger further actions in the archive: if the
link target is a regular file, we must copy that file into the
archive, and if the target is a symbolic link, then we must create
that link, and copy in the link target.
Handle this by calling add_file() or (recursively) add_link() in
order to create the missing pieces of the symlink chain.
These operations must take place outside of the path lock since
they do not modify the archive namespace and will call methods of
the Archive object that will attempt to re-acquire this lock.
Resolves: #1404
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions