From: Colin Patrick McCabe Date: Wed, 2 Feb 2011 17:57:32 +0000 (-0800) Subject: client/fuse.cc: explicity zero fuse function ptrs X-Git-Tag: v0.25~231^2~8^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=38b50013e27e79dd43c5f514c8c24bd8b1e69e5f;p=ceph.git client/fuse.cc: explicity zero fuse function ptrs Set unused function pointers to 0 explicitly to please gcc. (They were already implicitly zeroed because the containing struct was a global.) Signed-off-by: Colin McCabe --- diff --git a/src/client/fuse.cc b/src/client/fuse.cc index 81ddfd681f9..960848b198b 100644 --- a/src/client/fuse.cc +++ b/src/client/fuse.cc @@ -252,7 +252,21 @@ const static struct fuse_operations ceph_oper = { removexattr: 0, opendir: ceph_opendir, readdir: ceph_readdir, - releasedir: ceph_releasedir + releasedir: ceph_releasedir, + fsyncdir : 0, + init : 0, + destroy : 0, + access : 0, + create : 0, + ftruncate : 0, + fgetattr : 0, + lock : 0, + utimens : 0, + bmap : 0, + flag_nullpath_ok : 0, + flag_reserved : 0, + ioctl : 0, + poll : 0, };