Always pass "use_ino" to fuse_new, since it's ok to have several files with sameinode number.

edge.strict_endians
cha0smaster 2005-10-27 13:01:58 +00:00
parent 9fb63e797e
commit 01585fd7cd
1 changed files with 2 additions and 5 deletions

View File

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