Do not set archive bit on directory creation.

Windows Exporer does not set archive bit for new directories either.
This fixes compatibility with Zalman VE-200 which is unable to read
images from the _ISO directory if it has archive bit set.
This commit is contained in:
relan
2015-09-10 12:24:59 +03:00
parent 8099d130e2
commit 5d3dd6f2e3

View File

@@ -973,7 +973,7 @@ int exfat_mkdir(struct exfat* ef, const char* path)
int rc;
struct exfat_node* node;
rc = create(ef, path, EXFAT_ATTRIB_ARCH | EXFAT_ATTRIB_DIR);
rc = create(ef, path, EXFAT_ATTRIB_DIR);
if (rc != 0)
return rc;
rc = exfat_lookup(ef, &node, path);