]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/ceph/file.c
ceph: Move the place for EOLDSNAPC handle in ceph_aio_write to easily understand
authormajianpeng <majianpeng@gmail.com>
Thu, 8 Aug 2013 07:32:19 +0000 (15:32 +0800)
committerSage Weil <sage@inktank.com>
Sat, 10 Aug 2013 00:55:43 +0000 (17:55 -0700)
commit0e5dd45ce4c41d3e3857116a77f34f04c99e78ad
tree5c55028ec8312394bcffddc19652eae3cd16ba77
parenta158073c43b3aa26407b4c7987c909d21a12b5e5
ceph: Move the place for EOLDSNAPC handle in ceph_aio_write to easily understand

Only for ceph_sync_write, the osd can return EOLDSNAPC.so move the
related codes after the call ceph_sync_write.

Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Reviewed-by: Sage Weil <sage@inktank.com>
fs/ceph/file.c