ceph: wait unsafe sync writes for evicting inode
authorYan, Zheng <zyan@redhat.com>
Wed, 15 Jun 2016 08:29:18 +0000 (16:29 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 28 Jul 2016 00:55:40 +0000 (02:55 +0200)
commit9a5530c63889ac928a45c4645ab0bc23b4fbfcb8
tree6c3d76c198fd3b26c6fe9e5c7f922ad62cbafdc7
parentfc8c3892f30c39f28fdb835f7c8598ac4cf5ed1e
ceph: wait unsafe sync writes for evicting inode

Otherwise ceph_sync_write_unsafe() may access/modify freed inode.

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