From: Sage Weil Date: Sun, 22 Aug 2010 22:16:41 +0000 (-0700) Subject: ceph: fix xattr cap writeback X-Git-Tag: v2.6.36-rc3~12^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=082afec92d1052305af1195f591602f4d0f44277;p=pandora-kernel.git ceph: fix xattr cap writeback We should include the xattr metadata blob in the cap update message any time we are flushing dirty state, NOT just when we are also dropping the cap. This fixes async xattr writeback. Also, clean up the code slightly to avoid duplicating the bit test. Signed-off-by: Sage Weil --- Reading git-diff-tree failed