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)
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

diff --cc fs/ceph/inode.c
Simple merge