Signed-off-by: Yunchuan Wen <[email protected]>
Signed-off-by: Li Wang <[email protected]>
---
src/client/Client.cc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/client/Client.cc b/src/client/Client.cc
index 19d31e0..3beab8f 100644
--- a/src/client/Client.cc
+++ b/src/client/Client.cc
@@ -2399,6 +2399,11 @@ void Client::send_cap(Inode *in, MetaSession *session,
Cap *cap,
in->ctime.encode_timeval(&m->head.ctime);
m->head.time_warp_seq = in->time_warp_seq;
+ if (flush & CEPH_CAP_FILE_WR) {
+ m->inline_version = in->inline_version;
+ m->inline_data = in->inline_data;
+ }
+
in->reported_size = in->size;
m->set_snap_follows(follows);
cap->wanted = want;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html