From: Sage Weil Date: Tue, 13 Apr 2010 18:41:22 +0000 (-0700) Subject: ceph: queue_cap_snap should always queue dirty context X-Git-Tag: v2.6.34-rc5~17^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc837c8f0446b73a1661339db406c0238dd1d184;p=pandora-kernel.git 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: Sage Weil --- Reading git-diff-tree failed