diff options
author | Joey Hess <joey@kitenet.net> | 2012-02-24 16:30:47 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-02-24 16:30:47 -0400 |
commit | bd66f962d33e5480ed66fdafc9502926f60ed13b (patch) | |
tree | 09593779f8ed5a7aa2e5dab4aec9ab305e0bfb83 /debian | |
parent | c9b48520ccf7c9dbda0ad08150178868cc69f660 (diff) |
Deal with NFS problem that caused a failure to remove a directory when removing content from the annex.
I was able to reproduce this on linux using the kernel's nfs server and
mounting localhost:/. Determined that removing the directory fails when
the just-deleted file in it was locked. Considered dropping the lock
before removing the directory, but this would complicate parts of the code
that should not need to worry about locking. So instead, ignore the failure
to remove the directory in this case.
While I was at it, made it attempt to remove both levels of hash
directories, in case they're empty.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 46d65df38..8c30c2500 100644 --- a/debian/changelog +++ b/debian/changelog @@ -33,6 +33,8 @@ git-annex (3.20120124) UNRELEASED; urgency=low * rekey: New plumbing level command, can be used to change the keys used for files en masse. * Store web special remote url info in a more efficient location. + * Deal with NFS problem that caused a failure to remove a directory + when removing content from the annex. -- Joey Hess <joeyh@debian.org> Tue, 24 Jan 2012 16:21:55 -0400 |