]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: fix blob size initalization
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 17 Apr 2009 23:41:59 +0000 (16:41 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 17 Apr 2009 23:41:59 +0000 (16:41 -0700)
src/kernel/caps.c

index 412c025509415502e27c2ab48351d34ade88e46b..ecaea48570d778abc5f72205c52a560b2e805f08 100644 (file)
@@ -854,7 +854,7 @@ static void __send_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap,
        gid_t gid;
        int mds = cap->session->s_mds;
        void *xattrs_blob = NULL;
-       int xattrs_blob_size;
+       int xattrs_blob_size = 0;
        u64 xattr_version = 0;
 
        dout(10, "__send_cap cap %p session %p %s -> %s (revoking %s)\n",