mds: verify backtrace by auth MDS only

Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
Yan, Zheng 2014-12-26 11:41:33 +08:00
parent d8e3ce8a1f
commit 572e42e85d

View 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;