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

1
elem.c
View file

@ -523,6 +523,7 @@ struct snapraid_disk* disk_alloc(const char* name, const char* dir, uint64_t dev
disk->device = dev;
disk->first_free_block = 0;
disk->has_not_persistent_inodes = 0;
disk->mapping = -1;
tommy_list_init(&disk->filelist);
tommy_list_init(&disk->deletedlist);