]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: repeat dir->is_frozen in rdlock_path_xlock_dentry 15758/head
authorhuanwen ren <rhwlyw@163.com>
Mon, 19 Jun 2017 11:26:48 +0000 (19:26 +0800)
committerGitHub <noreply@github.com>
Mon, 19 Jun 2017 11:26:48 +0000 (19:26 +0800)
commita5f1684819d9e094d503de081400ab720808dd7a
tree906ed1c52b9ad7c0cd4110126fd56c21486261ea
parent916c5e3332058172d7ea2c0e3cde393ae17e03e0
mds: repeat dir->is_frozen in rdlock_path_xlock_dentry

Because traverse_to_auth_dir() in the rdlock_path_xlock_dentry() call dir->is_frozen,
as "traverse_to_auth_dir ---> validate_dentry_dir() ---> dir->is_frozen()",
so this is repeated to judge "dir->is_frozen()" in "rdlock_path_xlock_dentry()".

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/mds/Server.cc