Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loopback: Missing "." and ".." entries #62

Closed
rfjakob opened this issue Oct 7, 2015 · 1 comment
Closed

loopback: Missing "." and ".." entries #62

rfjakob opened this issue Oct 7, 2015 · 1 comment

Comments

@rfjakob
Copy link
Contributor

rfjakob commented Oct 7, 2015

0 jakob@brikett:~/src/github.com/hanwen/go-fuse/example/loopback$ ls -la backing
total 8
drwxr-xr-x. 2 jakob jakob 4096 26. Aug 00:38 .
drwxr-xr-x. 5 jakob jakob 4096  5. Okt 23:21 ..
0 jakob@brikett:~/src/github.com/hanwen/go-fuse/example/loopback$ ls -la mountpoint
total 0
@rfjakob
Copy link
Contributor Author

rfjakob commented Oct 8, 2015

Seems to be a regression in 8783b8e. Reverting it brings the entries back.

rfjakob referenced this issue Oct 8, 2015
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.
rfjakob added a commit to rfjakob/go-fuse that referenced this issue Oct 9, 2015
The entries should exist on any filesystem.

Fixes issue hanwen#62
rfjakob added a commit to rfjakob/go-fuse that referenced this issue Oct 11, 2015
The entries should exist on any filesystem.

Fixes issue hanwen#62
hanwen pushed a commit that referenced this issue Oct 11, 2015
The entries should exist on any filesystem.

Fixes issue #62
@rfjakob rfjakob closed this as completed Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant