]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: another dumb typo
authorSage Weil <sage@newdream.net>
Thu, 8 May 2008 17:48:48 +0000 (10:48 -0700)
committerSage Weil <sage@newdream.net>
Thu, 8 May 2008 17:48:48 +0000 (10:48 -0700)
src/kernel/osd_client.c

index 23694aae9aea2a04cb97f02a2072cbf16fd62247..2b15e7f8803645edace60b867f7a52a14320530b 100644 (file)
@@ -795,6 +795,7 @@ int ceph_osdc_sync_write(struct ceph_osd_client *osdc, ceph_ino_t ino,
        po = off & ~PAGE_MASK;
        rc = -EFAULT;
        for (i = 0; i < nr_pages; i++) {
+               int bad;
                req->r_pages[i] = alloc_page(GFP_NOFS);
                if (req->r_pages[i] == NULL) {
                        req->r_nr_pages = i+1;