diff options
author | Jakob Unterwurzacher | 2018-07-15 12:00:08 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2018-07-15 12:02:39 +0200 |
commit | bbf5b72fff8b07251faacce9e77dd427a4379081 (patch) | |
tree | ee7da7a4ba45cc51906c97f812d84d6812feace2 /tests/fsck/broken_fs_v1.4/V5DjvW5BXlGl1yCIJn4lPgdjdMvW_LUfc7G-R8W1cZ0 | |
parent | bcca323cb778d3ab9bf3b16e041ede5e67b18ff8 (diff) |
WriteDirIV: delete incomplete gocryptfs.diriv file if write fails
If the underlying filesystem is full, writing to gocryptfs.diriv may
fail, and later fsck show this:
OpenDir "xyz": could not read gocryptfs.diriv: wanted 16 bytes, got 0
Uncovered by xfstests generic/083.
Also fixes a fd leak in the error path.
Diffstat (limited to 'tests/fsck/broken_fs_v1.4/V5DjvW5BXlGl1yCIJn4lPgdjdMvW_LUfc7G-R8W1cZ0')
0 files changed, 0 insertions, 0 deletions