diff options
Diffstat (limited to 'net/ceph/osd_client.c')
-rw-r--r-- | net/ceph/osd_client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index 467020c560b2..57d8db5b055a 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c | |||
@@ -577,8 +577,7 @@ void osd_req_op_watch_init(struct ceph_osd_request *osd_req, | |||
577 | BUG_ON(opcode != CEPH_OSD_OP_NOTIFY_ACK && opcode != CEPH_OSD_OP_WATCH); | 577 | BUG_ON(opcode != CEPH_OSD_OP_NOTIFY_ACK && opcode != CEPH_OSD_OP_WATCH); |
578 | 578 | ||
579 | op->watch.cookie = cookie; | 579 | op->watch.cookie = cookie; |
580 | /* op->watch.ver = version; */ /* XXX 3847 */ | 580 | op->watch.ver = version; |
581 | op->watch.ver = cpu_to_le64(version); | ||
582 | if (opcode == CEPH_OSD_OP_WATCH && flag) | 581 | if (opcode == CEPH_OSD_OP_WATCH && flag) |
583 | op->watch.flag = (u8)1; | 582 | op->watch.flag = (u8)1; |
584 | } | 583 | } |