]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: properly mark empty directory as complete
authorYan, Zheng <zyan@redhat.com>
Mon, 19 Jan 2015 05:12:24 +0000 (13:12 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 19 Feb 2015 10:31:39 +0000 (13:31 +0300)
commit733e756f5b79cd000477e5d100f6f344e3b7ce88
tree3e53915348d4181da3b54982ec6fceb2fcbdbd3f
parent608f96b16d0da5d6af7c74cd6d39d45b65eabed9
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>
fs/ceph/inode.c