From 3c3163c41b92f57ab00ac5aee7ae37726403c495 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Tue, 16 Apr 2019 12:11:43 -0700 Subject: [PATCH] dll; fuse: rename dot_hidden option to dothidden --- src/dll/fuse/fuse.c | 8 ++++---- src/dll/fuse/fuse_intf.c | 2 +- src/dll/fuse/library.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/dll/fuse/fuse.c b/src/dll/fuse/fuse.c index 55745328..36d048c1 100644 --- a/src/dll/fuse/fuse.c +++ b/src/dll/fuse/fuse.c @@ -71,8 +71,8 @@ static struct fuse_opt fsp_fuse_core_opts[] = FSP_FUSE_CORE_OPT("rellinks", rellinks, 1), FSP_FUSE_CORE_OPT("norellinks", rellinks, 0), - FSP_FUSE_CORE_OPT("dot_hidden", dot_hidden, 1), - FSP_FUSE_CORE_OPT("nodot_hidden", dot_hidden, 0), + FSP_FUSE_CORE_OPT("dothidden", dothidden, 1), + FSP_FUSE_CORE_OPT("nodothidden", dothidden, 0), FUSE_OPT_KEY("fstypename=", 'F'), FUSE_OPT_KEY("volname=", 'v'), @@ -247,7 +247,7 @@ static int fsp_fuse_core_opt_proc(void *opt_data0, const char *arg, int key, " -o uid=N set file owner (-1 for mounting user id)\n" " -o gid=N set file group (-1 for mounting user group)\n" " -o rellinks interpret absolute symlinks as volume relative\n" - " -o dot_hidden dot files have the Windows hidden file attrib\n" + " -o dothidden dot files have the Windows hidden file attrib\n" " -o volname=NAME set volume label\n" " -o VolumePrefix=UNC set UNC prefix (/Server/Share)\n" " --VolumePrefix=UNC set UNC prefix (\\Server\\Share)\n" @@ -429,7 +429,7 @@ FSP_FUSE_API struct fuse *fsp_fuse_new(struct fsp_fuse_env *env, f->set_uid = opt_data.set_uid; f->uid = opt_data.uid; f->set_gid = opt_data.set_gid; f->gid = opt_data.gid; f->rellinks = opt_data.rellinks; - f->dot_hidden = opt_data.dot_hidden; + f->dothidden = opt_data.dothidden; f->ThreadCount = opt_data.ThreadCount; memcpy(&f->ops, ops, opsize); f->data = data; diff --git a/src/dll/fuse/fuse_intf.c b/src/dll/fuse/fuse_intf.c index 3aac551a..ee3d9b63 100644 --- a/src/dll/fuse/fuse_intf.c +++ b/src/dll/fuse/fuse_intf.c @@ -429,7 +429,7 @@ static NTSTATUS fsp_fuse_intf_GetFileInfoFunnel(FSP_FILE_SYSTEM *FileSystem, } if (StatEx) FileInfo->FileAttributes |= fsp_fuse_intf_MapFlagsToFileAttributes(stbuf.st_flags); - if (f->dot_hidden) + if (f->dothidden) { const char *basename = PosixPath; for (const char *p = PosixPath; '\0' != *p; p++) diff --git a/src/dll/fuse/library.h b/src/dll/fuse/library.h index dfbb4e7f..261d4f8f 100644 --- a/src/dll/fuse/library.h +++ b/src/dll/fuse/library.h @@ -53,7 +53,7 @@ struct fuse int set_uid, uid; int set_gid, gid; int rellinks; - int dot_hidden; + int dothidden; unsigned ThreadCount; struct fuse_operations ops; void *data; @@ -142,7 +142,7 @@ struct fsp_fuse_core_opt_data set_gid, gid, set_attr_timeout, attr_timeout, rellinks, - dot_hidden; + dothidden; int set_FileInfoTimeout, set_DirInfoTimeout, set_EaTimeout,