]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client/fuse_ll: fully initialize callback struct
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 2 Feb 2011 16:30:30 +0000 (08:30 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Thu, 3 Feb 2011 11:54:23 +0000 (03:54 -0800)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/client/fuse_ll.cc

index ab0b78d2358ccb799d25f7d0a5332fdd5a7d6ec8..c647b77fe1b57c7db103d2765c18880ffa064e48 100644 (file)
@@ -445,7 +445,7 @@ static void do_init(void *foo, fuse_conn_info *bar)
   }
 }
 
-static struct fuse_lowlevel_ops ceph_ll_oper = {
+const static struct fuse_lowlevel_ops ceph_ll_oper = {
  init: do_init,
  destroy: 0,
  lookup: ceph_ll_lookup,
@@ -479,7 +479,9 @@ static struct fuse_lowlevel_ops ceph_ll_oper = {
  create: ceph_ll_create,
  getlk: 0,
  setlk: 0,
- bmap: 0
+ bmap : 0,
+ ioctl : 0,
+ poll : 0,
 };
 
 int ceph_fuse_ll_main(Client *c, int argc, const char *argv[], int fd)