]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: verify backtrace by auth MDS only
authorYan, Zheng <zyan@redhat.com>
Fri, 26 Dec 2014 03:41:33 +0000 (11:41 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 5 Feb 2015 14:40:38 +0000 (22:40 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/CInode.cc

index 50c829b8a8c4f7d6d19d7b4d02b7f4c15a71e82b..6006c1a06cf1f2a9ad1c6e4dc9032740d6cb75df 100644 (file)
@@ -1201,7 +1201,7 @@ void CInode::clear_dirty_parent()
 
 void CInode::verify_diri_backtrace(bufferlist &bl, int err)
 {
-  if (is_base() || is_dirty_parent())
+  if (is_base() || is_dirty_parent() || !is_auth())
     return;
 
   dout(10) << "verify_diri_backtrace" << dendl;