commit | 2f92b3d0a9a583a5a4dd786a84fc42e6f1aa40fa | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Mon Jan 19 13:12:24 2015 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Feb 19 13:31:39 2015 +0300 |
tree | 3e53915348d4181da3b54982ec6fceb2fcbdbd3f | |
parent | a6a5ce4f0df9146ba8cb61121b80aa191fbb1f04 [diff] |
ceph: properly mark empty directory as complete ceph_add_cap() calls __check_cap_issue(), which clears directory inode' complete flag. so we should set the complete flag for empty directory should be set after calling ceph_add_cap(). Signed-off-by: Yan, Zheng <zyan@redhat.com>