]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/ceph/osd_client.c
Merge tag 'ceph-for-4.12-rc1' of git://github.com/ceph/ceph-client
[karo-tx-linux.git] / net / ceph / osd_client.c
index 9b8f57fd5ee18a69cbc1a46ae11ac9b7717fa453..924f07c36ddbc2864c7428723766d0a64729c7c4 100644 (file)
@@ -3681,7 +3681,7 @@ ceph_osdc_watch(struct ceph_osd_client *osdc,
        ceph_oid_copy(&lreq->t.base_oid, oid);
        ceph_oloc_copy(&lreq->t.base_oloc, oloc);
        lreq->t.flags = CEPH_OSD_FLAG_WRITE;
-       lreq->mtime = CURRENT_TIME;
+       ktime_get_real_ts(&lreq->mtime);
 
        lreq->reg_req = alloc_linger_request(lreq);
        if (!lreq->reg_req) {
@@ -3739,7 +3739,7 @@ int ceph_osdc_unwatch(struct ceph_osd_client *osdc,
        ceph_oid_copy(&req->r_base_oid, &lreq->t.base_oid);
        ceph_oloc_copy(&req->r_base_oloc, &lreq->t.base_oloc);
        req->r_flags = CEPH_OSD_FLAG_WRITE;
-       req->r_mtime = CURRENT_TIME;
+       ktime_get_real_ts(&req->r_mtime);
        osd_req_op_watch_init(req, 0, lreq->linger_id,
                              CEPH_OSD_WATCH_OP_UNWATCH);