Silence ENODEV errors for fstatat

Some broken gdrive filesystem can return these.

Fixes #9550
This commit is contained in:
Fabian Boehm 2023-02-06 21:45:50 +01:00
parent f6b390dc61
commit e90f003d2d

View File

@ -161,6 +161,7 @@ void dir_iter_t::entry_t::do_stat() const {
case ENOENT:
case ENOTDIR:
case ENAMETOOLONG:
case ENODEV:
// These are "expected" errors.
this->type_ = none();
break;