]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: match conditions in finish_scatter_gather_update_accounted
authorSage Weil <sage@newdream.net>
Wed, 3 Nov 2010 17:51:42 +0000 (10:51 -0700)
committerSage Weil <sage@newdream.net>
Wed, 3 Nov 2010 17:51:42 +0000 (10:51 -0700)
This needs to match the frozen check in finish_scatter_gather_update.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/CInode.cc

index fa0cad3cb4dd5957f35f43bcf8106988f904b39c..149b240e2167bf3d1d5ef0f24a14623cae8d5d1e 100644 (file)
@@ -1680,7 +1680,7 @@ void CInode::finish_scatter_gather_update_accounted(int type, Mutation *mut, EMe
        p != dirfrags.end();
        p++) {
     CDir *dir = p->second;
-    if (!dir->is_auth())
+    if (!dir->is_auth() || dir->is_frozen())
       continue;
     
     if (type == CEPH_LOCK_IDFT)