Marks FUSE filesystem as with not persistent inodes,

disabling inode use in such case.
This commit is contained in:
Andrea Mazzoleni 2013-08-27 23:02:12 +02:00
parent 4fb96c0dec
commit e4e13a669b
8 changed files with 65 additions and 35 deletions

View file

@ -1148,11 +1148,14 @@ int filephy(const char* file, struct stat* st, uint64_t* physical)
return 0;
}
int fstype(const char* path)
int fsinfo(const char* path, int* has_persistent_inode)
{
(void)path;
return FSTYPE_UNKNOWN;
/* all FAT/exFAT/NTFS when managed from Windows have persistent inodes */
*has_persistent_inode = 1;
return 0;
}
#undef strerror