Message ID | 88f90b03dd634d91d2a8e5c7bba9cd25956d8f85.1385558324.git.liwang@ubuntukylin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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;