Merge pull request #14726 from batrick/i19583

mds: change_attr++ and set ctime for set_vxattr

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2017-04-24 22:13:48 +01:00 committed by GitHub
commit de36573fb2

View File

@ -4423,6 +4423,8 @@ void Server::handle_set_vxattr(MDRequestRef& mdr, CInode *cur,
return;
}
pi->change_attr++;
pi->ctime = mdr->get_op_stamp();
pi->version = cur->pre_dirty();
if (cur->is_file())
pi->update_backtrace();