* The default hammer rev is now 6, which is the directory filename hash
algorithm.
idata->nlinks = 1;
if (HammerVersion >= HAMMER_VOL_VERSION_TWO)
idata->cap_flags |= HAMMER_INODE_CAP_DIR_LOCAL_INO;
+ if (HammerVersion >= HAMMER_VOL_VERSION_SIX)
+ idata->cap_flags |= HAMMER_INODE_CAP_DIRHASH_ALG1;
pfsd->sync_low_tid = 1;
pfsd->sync_beg_tid = 0;
sizeof(hammer_crc_t))
#define HAMMER_VOL_VERSION_MIN 1 /* minimum supported version */
-#define HAMMER_VOL_VERSION_DEFAULT 5 /* newfs default version */
-#define HAMMER_VOL_VERSION_WIP 6 /* version >= this is WIP */
+#define HAMMER_VOL_VERSION_DEFAULT 6 /* newfs default version */
+#define HAMMER_VOL_VERSION_WIP 7 /* version >= this is WIP */
#define HAMMER_VOL_VERSION_MAX 6 /* maximum supported version */
#define HAMMER_VOL_VERSION_ONE 1