{"action":"opened","number":319,"pull_request":{"url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/319","id":53780829,"html_url":"https://github.com/s3fs-fuse/s3fs-fuse/pull/319","diff_url":"https://github.com/s3fs-fuse/s3fs-fuse/pull/319.diff","patch_url":"https://github.com/s3fs-fuse/s3fs-fuse/pull/319.patch","issue_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/319","number":319,"state":"open","locked":false,"title":"Clean up mount point on errors in s3fs_init()","user":{"login":"RobbKistler","id":11239090,"avatar_url":"https://avatars.githubusercontent.com/u/11239090?v=3","gravatar_id":"","url":"https://api.github.com/users/RobbKistler","html_url":"https://github.com/RobbKistler","followers_url":"https://api.github.com/users/RobbKistler/followers","following_url":"https://api.github.com/users/RobbKistler/following{/other_user}","gists_url":"https://api.github.com/users/RobbKistler/gists{/gist_id}","starred_url":"https://api.github.com/users/RobbKistler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobbKistler/subscriptions","organizations_url":"https://api.github.com/users/RobbKistler/orgs","repos_url":"https://api.github.com/users/RobbKistler/repos","events_url":"https://api.github.com/users/RobbKistler/events{/privacy}","received_events_url":"https://api.github.com/users/RobbKistler/received_events","type":"User","site_admin":false},"body":"There are error conditions that don't get caught until s3fs_init() runs.  Currently, s3fs_init calls exit().  This leaves the mount point behind and results in \"Transport endpoint not connected\" errors.  \r\n\r\nWith this change, s3fs_init()  will exit the fuse loop cleanly.   This allows libfuse to close its session with the kernel module.   The mount point will be unmounted.\r\n\r\n\r\n\r\n","created_at":"2015-12-15T23:57:23Z","updated_at":"2015-12-15T23:57:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/319/commits","review_comments_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/319/comments","review_comment_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/319/comments","statuses_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/statuses/b581290c30931488db3d7f6268de9959bb255c26","head":{"label":"RobbKistler:clean-exit","ref":"clean-exit","sha":"b581290c30931488db3d7f6268de9959bb255c26","user":{"login":"RobbKistler","id":11239090,"avatar_url":"https://avatars.githubusercontent.com/u/11239090?v=3","gravatar_id":"","url":"https://api.github.com/users/RobbKistler","html_url":"https://github.com/RobbKistler","followers_url":"https://api.github.com/users/RobbKistler/followers","following_url":"https://api.github.com/users/RobbKistler/following{/other_user}","gists_url":"https://api.github.com/users/RobbKistler/gists{/gist_id}","starred_url":"https://api.github.com/users/RobbKistler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobbKistler/subscriptions","organizations_url":"https://api.github.com/users/RobbKistler/orgs","repos_url":"https://api.github.com/users/RobbKistler/repos","events_url":"https://api.github.com/users/RobbKistler/events{/privacy}","received_events_url":"https://api.github.com/users/RobbKistler/received_events","type":"User","site_admin":false},"repo":{"id":39928958,"name":"s3fs-fuse-1","full_name":"RobbKistler/s3fs-fuse-1","owner":{"login":"RobbKistler","id":11239090,"avatar_url":"https://avatars.githubusercontent.com/u/11239090?v=3","gravatar_id":"","url":"https://api.github.com/users/RobbKistler","html_url":"https://github.com/RobbKistler","followers_url":"https://api.github.com/users/RobbKistler/followers","following_url":"https://api.github.com/users/RobbKistler/following{/other_user}","gists_url":"https://api.github.com/users/RobbKistler/gists{/gist_id}","starred_url":"https://api.github.com/users/RobbKistler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobbKistler/subscriptions","organizations_url":"https://api.github.com/users/RobbKistler/orgs","repos_url":"https://api.github.com/users/RobbKistler/repos","events_url":"https://api.github.com/users/RobbKistler/events{/privacy}","received_events_url":"https://api.github.com/users/RobbKistler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RobbKistler/s3fs-fuse-1","description":"FUSE-based file system backed by Amazon S3","fork":true,"url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1","forks_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/forks","keys_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/teams","hooks_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/hooks","issue_events_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/issues/events{/number}","events_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/events","assignees_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/assignees{/user}","branches_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/branches{/branch}","tags_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/tags","blobs_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/statuses/{sha}","languages_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/languages","stargazers_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/stargazers","contributors_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/contributors","subscribers_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/subscribers","subscription_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/subscription","commits_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/contents/{+path}","compare_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/merges","archive_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/downloads","issues_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/issues{/number}","pulls_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/pulls{/number}","milestones_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/milestones{/number}","notifications_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/labels{/name}","releases_url":"https://api.github.com/repos/RobbKistler/s3fs-fuse-1/releases{/id}","created_at":"2015-07-30T03:17:40Z","updated_at":"2015-07-30T03:17:40Z","pushed_at":"2015-12-15T23:27:12Z","git_url":"git://github.com/RobbKistler/s3fs-fuse-1.git","ssh_url":"git@github.com:RobbKistler/s3fs-fuse-1.git","clone_url":"https://github.com/RobbKistler/s3fs-fuse-1.git","svn_url":"https://github.com/RobbKistler/s3fs-fuse-1","homepage":"","size":1509,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"s3fs-fuse:master","ref":"master","sha":"8162d4925dd3299efc432bc3cd61442168d8aba9","user":{"login":"s3fs-fuse","id":6013166,"avatar_url":"https://avatars.githubusercontent.com/u/6013166?v=3","gravatar_id":"","url":"https://api.github.com/users/s3fs-fuse","html_url":"https://github.com/s3fs-fuse","followers_url":"https://api.github.com/users/s3fs-fuse/followers","following_url":"https://api.github.com/users/s3fs-fuse/following{/other_user}","gists_url":"https://api.github.com/users/s3fs-fuse/gists{/gist_id}","starred_url":"https://api.github.com/users/s3fs-fuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3fs-fuse/subscriptions","organizations_url":"https://api.github.com/users/s3fs-fuse/orgs","repos_url":"https://api.github.com/users/s3fs-fuse/repos","events_url":"https://api.github.com/users/s3fs-fuse/events{/privacy}","received_events_url":"https://api.github.com/users/s3fs-fuse/received_events","type":"Organization","site_admin":false},"repo":{"id":14627445,"name":"s3fs-fuse","full_name":"s3fs-fuse/s3fs-fuse","owner":{"login":"s3fs-fuse","id":6013166,"avatar_url":"https://avatars.githubusercontent.com/u/6013166?v=3","gravatar_id":"","url":"https://api.github.com/users/s3fs-fuse","html_url":"https://github.com/s3fs-fuse","followers_url":"https://api.github.com/users/s3fs-fuse/followers","following_url":"https://api.github.com/users/s3fs-fuse/following{/other_user}","gists_url":"https://api.github.com/users/s3fs-fuse/gists{/gist_id}","starred_url":"https://api.github.com/users/s3fs-fuse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s3fs-fuse/subscriptions","organizations_url":"https://api.github.com/users/s3fs-fuse/orgs","repos_url":"https://api.github.com/users/s3fs-fuse/repos","events_url":"https://api.github.com/users/s3fs-fuse/events{/privacy}","received_events_url":"https://api.github.com/users/s3fs-fuse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/s3fs-fuse/s3fs-fuse","description":"FUSE-based file system backed by Amazon S3","fork":false,"url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse","forks_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/forks","keys_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/teams","hooks_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/hooks","issue_events_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/events{/number}","events_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/events","assignees_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/assignees{/user}","branches_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/branches{/branch}","tags_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/tags","blobs_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/refs{/sha}","trees_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/statuses/{sha}","languages_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/languages","stargazers_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/stargazers","contributors_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/contributors","subscribers_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/subscribers","subscription_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/subscription","commits_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/commits{/sha}","git_commits_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/git/commits{/sha}","comments_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/comments{/number}","issue_comment_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/comments{/number}","contents_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/contents/{+path}","compare_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/merges","archive_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/downloads","issues_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues{/number}","pulls_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls{/number}","milestones_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/milestones{/number}","notifications_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/labels{/name}","releases_url":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/releases{/id}","created_at":"2013-11-22T19:31:12Z","updated_at":"2015-12-14T04:52:49Z","pushed_at":"2015-12-07T15:04:52Z","git_url":"git://github.com/s3fs-fuse/s3fs-fuse.git","ssh_url":"git@github.com:s3fs-fuse/s3fs-fuse.git","clone_url":"https://github.com/s3fs-fuse/s3fs-fuse.git","svn_url":"https://github.com/s3fs-fuse/s3fs-fuse","homepage":"","size":1807,"stargazers_count":913,"watchers_count":913,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":140,"mirror_url":null,"open_issues_count":70,"forks":140,"open_issues":70,"watchers":913,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/319"},"html":{"href":"https://github.com/s3fs-fuse/s3fs-fuse/pull/319"},"issue":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/319"},"comments":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/issues/319/comments"},"review_comments":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/319/comments"},"review_comment":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/pulls/319/commits"},"statuses":{"href":"https://api.github.com/repos/s3fs-fuse/s3fs-fuse/statuses/b581290c30931488db3d7f6268de9959bb255c26"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":21,"deletions":4,"changed_files":2}}