dll: fuse: use NFS reparse points for POSIX special files

This commit is contained in:
Bill Zissimopoulos
2016-09-08 10:43:01 -07:00
parent 28931f4687
commit 44c86ff9a4
7 changed files with 343 additions and 223 deletions

View File

@ -502,9 +502,8 @@ FSP_FUSE_API struct fuse *fsp_fuse_new(struct fsp_fuse_env *env,
opt_data.VolumeParams.FileInfoTimeout = opt_data.set_attr_timeout * 1000;
opt_data.VolumeParams.CaseSensitiveSearch = !opt_data.CaseInsensitiveSearch;
opt_data.VolumeParams.PersistentAcls = TRUE;
opt_data.VolumeParams.ReparsePoints = FALSE; /* see FSP_FUSE_HAS_SYMLINKS use below */
opt_data.VolumeParams.ReparsePoints = TRUE;
opt_data.VolumeParams.ReparsePointsAccessCheck = FALSE;
opt_data.VolumeParams.ReparsePointsSymlinkOnly = TRUE;
opt_data.VolumeParams.NamedStreams = !!opt_data.NamedStreams;
opt_data.VolumeParams.ReadOnlyVolume = !!opt_data.ReadOnlyVolume;
@ -557,8 +556,6 @@ FSP_FUSE_API struct fuse *fsp_fuse_new(struct fsp_fuse_env *env,
goto fail;
}
f->VolumeParams.ReparsePoints = FSP_FUSE_HAS_SYMLINKS(f);
return f;
fail: