]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: sparse warnings
authorYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 7 Nov 2008 18:23:00 +0000 (10:23 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Fri, 7 Nov 2008 18:23:00 +0000 (10:23 -0800)
src/kernel/inode.c

index c7385967cb389df0ec39f32094df826379703118..66306b5af669eaf9399c9f2173190ce4f51675e6 100644 (file)
@@ -269,7 +269,7 @@ struct inode *ceph_alloc_inode(struct super_block *sb)
        init_waitqueue_head(&ci->i_cap_wq);
        INIT_LIST_HEAD(&ci->i_cap_snaps);
        ci->i_snap_caps = 0;
-       ci->i_head_snapc = 0;
+       ci->i_head_snapc = NULL;
 
        ci->i_wanted_max_size = 0;
        ci->i_requested_max_size = 0;