Skip to content
Commit fc837c8f authored by Sage Weil's avatar Sage Weil
Browse files

ceph: queue_cap_snap should always queue dirty context



This simplifies the calling convention, and fixes a bug where we queue a
capsnap with a context other than i_head_snapc (the one that matches the
dirty pages).  The result was a BUG at fs/ceph/caps.c:2178 on writeback
completion when a capsnap matching the writeback snapc could not be found.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent f5b06628
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment