svn commit: r269548 - head/sys/fs/ext2fs

Pedro F. Giffuni pfg at FreeBSD.org
Tue Aug 5 01:25:15 UTC 2014


Author: pfg
Date: Tue Aug  5 01:25:14 2014
New Revision: 269548
URL: http://svnweb.freebsd.org/changeset/base/269548

Log:
  Revert r269523:
  
  Providing a higher EXT2_LINK_MAX limit is a bad idea for ext2/3.
  
  Discussed with:	bde

Modified:
  head/sys/fs/ext2fs/ext2_dir.h

Modified: head/sys/fs/ext2fs/ext2_dir.h
==============================================================================
--- head/sys/fs/ext2fs/ext2_dir.h	Tue Aug  5 01:03:11 2014	(r269547)
+++ head/sys/fs/ext2fs/ext2_dir.h	Tue Aug  5 01:25:14 2014	(r269548)
@@ -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


More information about the svn-src-all mailing list