diff options
author | Ludovic Courtès <[email protected]> | 2018-12-14 11:10:25 +0100 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2018-12-14 12:07:24 +0100 |
commit | adb158b7396cbdcda347fa298978408e531a03fd (patch) | |
tree | fd6877e72a20840cd3962f80a89618bd08fcf04b /etc | |
parent | ea49fbdea3bbb9b55951b7bff9d9cf768fd23161 (diff) |
deduplication: Gracefully handle ENOSPC raised by 'link' calls.
Reported by Andreas Enge <[email protected]>
in <https://bugs.gnu.org/33676>.
* guix/store/deduplication.scm (replace-with-link): Catch ENOSPC around
'get-temp-link'. Do nothing when 'get-temp-link' throws ENOSPC. Move
code to restore PARENT's permissions outside of 'catch'.
* tests/store-deduplication.scm ("deduplicate, ENOSPC"): New test.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions