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: fix Client::handle_cap_flushsnap_ack() crash #12859

Merged
merged 1 commit into from
Jan 13, 2017

Commits on Jan 10, 2017

  1. client: fix Client::handle_cap_flushsnap_ack() crash

    Struct CapSnap holds a reference to its parent inode. So erasing
    struct CapSnap from Inode::cap_snaps may drop inode's last reference.
    The inode gets freed in the middle of erasing struct CapSnap
    
    Fixes: http://tracker.ceph.com/issues/18460
    Signed-off-by: Yan, Zheng <zyan@redhat.com>
    ukernel committed Jan 10, 2017
    Configuration menu
    Copy the full SHA
    525c52f View commit details
    Browse the repository at this point in the history