Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 01:25:14 +0000 (UTC)
From:      Pedro F. Giffuni <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269548 - head/sys/fs/ext2fs
Message-ID:  <53e0327a.5007.906f8e0@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e0327a.5007.906f8e0>