Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32048/ntfsprogs
Modified Files:
ntfsmount.c
Log Message:
Pass use_ino to fuse_new if named data streams access is not 'windows'.
Index: ntfsmount.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsmount.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -p -r1.46 -r1.47
--- ntfsmount.c 26 Oct 2005 22:54:57 -0000 1.46
+++ ntfsmount.c 27 Oct 2005 11:37:49 -0000 1.47
@@ -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) {
|