Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-fs: fs-metawrap stat() error handling improvement.
We can't just treat i_stream_get_size() returning 0 as the reason being istream is async and not fully read. It might be, but it might also be because of other reasons. And since we're closing the istream we couldn't even properly finish up the async handling. So for now just return an error if we see this happening.
- Loading branch information