ceph: fix directory fsync
authorYan, Zheng <zyan@redhat.com>
Wed, 27 May 2015 03:19:34 +0000 (11:19 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 25 Jun 2015 08:49:30 +0000 (11:49 +0300)
fsync() on directory should flush dirty caps and wait for any
uncommitted directory opertions to commit. But ceph_dir_fsync()
only waits for uncommitted directory opertions.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c
fs/ceph/dir.c

diff --cc fs/ceph/caps.c
Simple merge
diff --cc fs/ceph/dir.c
Simple merge