diff options
author | Jakob Unterwurzacher | 2016-06-08 22:39:35 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-06-09 22:21:00 +0200 |
commit | 5b1eed35eea57655b36be163f0aeadb55d89cf40 (patch) | |
tree | 5310c9d07daa7825d9ff26d3dd6add664bcacb17 /internal/configfile/config_test/.gitignore | |
parent | 37d824c9a875f71d6184b87794db533c77b0046a (diff) |
fusefrontend: Utimens: convert ENOENT to EBADF
If /proc/self/fd/X did not exist, the actual error is that the file
descriptor was invalid.
go-fuse's pathfs prefers using an open fd even for path-based operations
but does not take any locks to prevent the fd from being closed.
Instead, it retries the operation by path if it get EBADF. So this
change allows the retry logic to work correctly.
This fixes the error
rsync: failed to set times on "/tmp/ping.Kgw.mnt/linux-3.0/[...]/.dvb_demux.c.N7YlEM":
No such file or directory (2)
that was triggered by pingpong-rsync.bash.
Diffstat (limited to 'internal/configfile/config_test/.gitignore')
0 files changed, 0 insertions, 0 deletions