{"action":"created","issue":{"url":"https://api.github.com/repos/osxfuse/osxfuse/issues/286","repository_url":"https://api.github.com/repos/osxfuse/osxfuse","labels_url":"https://api.github.com/repos/osxfuse/osxfuse/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/osxfuse/osxfuse/issues/286/comments","events_url":"https://api.github.com/repos/osxfuse/osxfuse/issues/286/events","html_url":"https://github.com/osxfuse/osxfuse/issues/286","id":157972253,"number":286,"title":"lookup() not called when readdir() returns inode with lowest 32bits set to 0","user":{"login":"korczis","id":373331,"avatar_url":"https://avatars.githubusercontent.com/u/373331?v=3","gravatar_id":"","url":"https://api.github.com/users/korczis","html_url":"https://github.com/korczis","followers_url":"https://api.github.com/users/korczis/followers","following_url":"https://api.github.com/users/korczis/following{/other_user}","gists_url":"https://api.github.com/users/korczis/gists{/gist_id}","starred_url":"https://api.github.com/users/korczis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korczis/subscriptions","organizations_url":"https://api.github.com/users/korczis/orgs","repos_url":"https://api.github.com/users/korczis/repos","events_url":"https://api.github.com/users/korczis/events{/privacy}","received_events_url":"https://api.github.com/users/korczis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/osxfuse/osxfuse/labels/feature","name":"feature","color":"0052cc"},{"url":"https://api.github.com/repos/osxfuse/osxfuse/labels/feedback%20required","name":"feedback required","color":"fbca04"}],"state":"closed","locked":false,"assignee":{"login":"bfleischer","id":716336,"avatar_url":"https://avatars.githubusercontent.com/u/716336?v=3","gravatar_id":"","url":"https://api.github.com/users/bfleischer","html_url":"https://github.com/bfleischer","followers_url":"https://api.github.com/users/bfleischer/followers","following_url":"https://api.github.com/users/bfleischer/following{/other_user}","gists_url":"https://api.github.com/users/bfleischer/gists{/gist_id}","starred_url":"https://api.github.com/users/bfleischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bfleischer/subscriptions","organizations_url":"https://api.github.com/users/bfleischer/orgs","repos_url":"https://api.github.com/users/bfleischer/repos","events_url":"https://api.github.com/users/bfleischer/events{/privacy}","received_events_url":"https://api.github.com/users/bfleischer/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-06-01T18:12:59Z","updated_at":"2016-06-11T13:33:38Z","closed_at":"2016-06-11T13:33:38Z","body":"Hi,\r\nI am experiencing strange behavior when readdir returns entry which has lowest 32bits set to zero.\r\n\r\nNot working inode number\r\n- `3659174697238528` - `1101000010100000000000000000000000000000000000000000b`\r\n\r\n**Application Log**\r\n\r\n```\r\nGoodDataFS::readdir() - Reading inode 3659174697238528 - Inode { project: 13, category: 0, item: 0, reserved: 0 }\r\nGoodDataFS::readdir() - Adding inode 3670169813516288 - Inode { project: 13, category: 10, item: 0, reserved: 0 }, project 12, path metadata\r\n```\r\nWorking inode number\r\n- `3670169813516289` - `1101000010100000000000000000000000000000000000000001b`\r\n\r\n**Application Log**\r\n\r\n```\r\nGoodDataFS::readdir() - Reading inode 3659174697238528 - Inode { project: 13, category: 0, item: 0, reserved: 0 }\r\nGoodDataFS::readdir() - Adding inode 3670169813516289 - Inode { project: 13, category: 10, item: 0, reserved: 1 }, project 12, path metadata\r\nGoodDataFS::lookup() - Reading parent 3659174697238528 - Inode { project: 13, category: 0, item: 0, reserved: 0 }, path \"metadata\"\r\n```\r\n\r\n**Environment**\r\n- Mac OS X El capitan 64 bit\r\n\r\n**node id format**\r\n\r\n| Bits | Offset | Description  | Limit            |\r\n|------|--------|--------------|------------------|\r\n| 16   | 48     | Project ID   | 65535 projects   |\r\n| 8    | 40     | Category ID  | 256 [categories](https://github.com/korczis/gooddata-fs/blob/master/doc/Filesystem.md#category-id)   |\r\n| 32   | 8      | Item ID      | 4294967295 items |\r\n| 8    | 0      | Reserved     | 256 reserves ;-) |\r\n\r\nFor more info see [documentation](https://github.com/korczis/gooddata-fs/blob/master/doc/Filesystem.md#i-node-id-format)\r\n\r\nPS: I tried to compile same code on linux and it works without any problems.\r\n\r\nAm I missing something? Am I doing something wrong? I tried to search if there are any requirements for inode format but I found nothing.\r\n"},"comment":{"url":"https://api.github.com/repos/osxfuse/osxfuse/issues/comments/225362017","html_url":"https://github.com/osxfuse/osxfuse/issues/286#issuecomment-225362017","issue_url":"https://api.github.com/repos/osxfuse/osxfuse/issues/286","id":225362017,"user":{"login":"korczis","id":373331,"avatar_url":"https://avatars.githubusercontent.com/u/373331?v=3","gravatar_id":"","url":"https://api.github.com/users/korczis","html_url":"https://github.com/korczis","followers_url":"https://api.github.com/users/korczis/followers","following_url":"https://api.github.com/users/korczis/following{/other_user}","gists_url":"https://api.github.com/users/korczis/gists{/gist_id}","starred_url":"https://api.github.com/users/korczis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/korczis/subscriptions","organizations_url":"https://api.github.com/users/korczis/orgs","repos_url":"https://api.github.com/users/korczis/repos","events_url":"https://api.github.com/users/korczis/events{/privacy}","received_events_url":"https://api.github.com/users/korczis/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T13:33:38Z","updated_at":"2016-06-11T13:33:38Z","body":"@bfleischer Yop, it works with 3.0.3+. Closing.\r\n"}}
{"actor":{"display_login":"korczis"}}