]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: fix symbol overshadowing
authorYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 12 Nov 2008 20:13:29 +0000 (12:13 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Wed, 12 Nov 2008 20:13:29 +0000 (12:13 -0800)
src/kernel/osd_client.c

index b26206de157625301a2259ad0f9dcb7bc2c8bc92..91c0f2cb3ad3b5978bfef84c84d2f480d20457cf 100644 (file)
@@ -940,8 +940,8 @@ int ceph_osdc_readpages(struct ceph_osd_client *osdc,
        if (rc == 0) {
                /* on success, return bytes read */
                struct ceph_osd_reply_head *head = req->r_reply->front.iov_base;
-               struct ceph_osd_op *op = (void *)(head + 1);
-               rc = op->length;
+               struct ceph_osd_op *rop = (void *)(head + 1);
+               rc = rop->length;
        }
 out:
        ceph_osdc_put_request(req);