For readdirplus, execute lookups when adding name entry.
We can only do the lookup if we are sure that we will return the result to the kernel, otherwise our lookup counts will go out of sync with the kernel. As a bonus, this removes the allocation for the EntryOut data structure, since we can write directly into the readdirplus return data. Add a port of the xfstest generic/257 that triggered this bug. Fixes #57.
Showing
fuse/test/xfs_test.go
0 → 100644
Please register or sign in to comment