From 572e42e85d382d70a5285a99a94d042dc526eb9f Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Fri, 26 Dec 2014 11:41:33 +0800 Subject: [PATCH] mds: verify backtrace by auth MDS only Signed-off-by: Yan, Zheng --- src/mds/CInode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/CInode.cc b/src/mds/CInode.cc index 50c829b8a8c..6006c1a06cf 100644 --- a/src/mds/CInode.cc +++ b/src/mds/CInode.cc @@ -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;