]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4bdf2f769fb274ba90c898e79768d4f38219ce6
tree5c55028ec8312394bcffddc19652eae3cd16ba77
parent037a2c00965b3d42356f0e026a41e199e58f9b60
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