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

ceph_fuse: fix daemonization when pid file is non-empty #13532

Merged
merged 1 commit into from Feb 28, 2017

Commits on Feb 23, 2017

  1. ceph_fuse: fix daemonization when pid file is non-empty

    During daemonizing ceph-fuse, both the parent and child processes call
    global_init_postfork_start(). global_init_postfork_start() calls
    pidfile_write(). If pid file is non-empty, one pidfile_write() call
    fails because it can't lock the pid file.
    
    The fix is only child process calls global_init_postfork_start()
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed Feb 23, 2017
    Copy the full SHA
    64a0e14 View commit details
    Browse the repository at this point in the history