From 7c1be3f5c7c1d2c1a32d8965f493596ddb5b4728 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Tue, 5 Aug 2014 01:25:14 +0000 Subject: [PATCH] Revert r269523: Providing a higher EXT2_LINK_MAX limit is a bad idea for ext2/3. Discussed with: bde --- sys/fs/ext2fs/ext2_dir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/ext2fs/ext2_dir.h b/sys/fs/ext2fs/ext2_dir.h index 5aed64c1ab08..8d928829f70f 100644 --- a/sys/fs/ext2fs/ext2_dir.h +++ b/sys/fs/ext2fs/ext2_dir.h @@ -72,7 +72,7 @@ struct ext2fs_direct_2 { /* * Maximal count of links to a file */ -#define EXT2_LINK_MAX LINK_MAX +#define EXT2_LINK_MAX 32000 /* * Ext2 directory file types. Only the low 3 bits are used. The