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

client: drop cap snaps when auth mds session gets closed #13579

Merged
merged 2 commits into from Apr 15, 2017

Commits on Feb 22, 2017

  1. client: hold reference for newly updated snaprealm

    Client::update_snap_trace() may create new snaprealm, then update
    them. When Client::update_snap_trace() return, the newly created
    snaprealm get freed immediately. This is wrong because callers of
    Client::update_snap_trace() expects Client::get_snap_realm() return
    the updated snaprealm.
    
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed Feb 22, 2017
    Copy the full SHA
    2be8903 View commit details
    Browse the repository at this point in the history
  2. client: drop cap snaps when auth mds session gets closed

    Fixes: http://tracker.ceph.com/issues/19022
    Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
    ukernel committed Feb 22, 2017
    Copy the full SHA
    cb336f2 View commit details
    Browse the repository at this point in the history