Pass use_ino to fuse_new if named data streams access is not 'windows'.

edge.strict_endians
cha0smaster 2005-10-27 11:37:49 +00:00
parent 8a584700c5
commit 9fb63e797e
1 changed files with 5 additions and 2 deletions

View File

@ -1536,9 +1536,12 @@ int main(int argc, char *argv[])
}
free(parsed_options);
#ifndef DEBUG
fh = fuse_new(ffd, NULL, &ntfs_fuse_oper, sizeof(ntfs_fuse_oper));
fh = fuse_new(ffd, (ctx->streams == NF_STREAMS_INTERFACE_WINDOWS) ?
NULL : "use_ino", &ntfs_fuse_oper,
sizeof(ntfs_fuse_oper));
#else
fh = fuse_new(ffd, "debug", &ntfs_fuse_oper,
fh = fuse_new(ffd, (ctx->streams == NF_STREAMS_INTERFACE_WINDOWS) ?
"debug" : "debug,use_ino" , &ntfs_fuse_oper,
sizeof(ntfs_fuse_oper));
#endif
if (!fh) {