From: Sage Weil Date: Tue, 26 Jul 2011 18:30:02 +0000 (-0700) Subject: ceph: set dir complete frag after adding capability X-Git-Tag: v3.1-rc1~220^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfabbed6fdd509dc2beb89c954bc36014a1bc7cb;p=pandora-kernel.git ceph: set dir complete frag after adding capability Curretly ceph_add_cap clears the complete bit if we are newly issued the FILE_SHARED cap, which is normally the case for a newly issue cap on a new directory. That means we clear the just-set bit. Move the check that sets the flag to after the cap is added/updated. Reviewed-by: Yehuda Sadeh Signed-off-by: Sage Weil --- Reading git-diff-tree failed