#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
-FILE *fh=NULL;
-
struct nfs_context *nfs = NULL;
static int fuse_nfs_getattr(const char *path, struct stat *stbuf)
fi->fh = (uint64_t)nfsfh;
-//nfs_chown
-
return ret;
}
char *url = NULL;
char *mnt = NULL;
char *server = NULL, *export = NULL, *strp;
- int fuse_nfs_argc = 6;
+ int fuse_nfs_argc = 5;
char *fuse_nfs_argv[16] = {
"fuse-nfs",
"<export>",
- "-odebug",
"-oallow_other",
"-odefault_permissions",
"-omax_write=32768",
NULL,
NULL,
NULL,
+ NULL,
};
while ((c = getopt_long(argc, argv, "?hm:n:", long_opts,