From owner-svn-src-head@FreeBSD.ORG Tue Aug 5 01:25:15 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C29BC25 for ; Tue, 5 Aug 2014 01:25:15 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 139C526AD for ; Tue, 5 Aug 2014 01:25:15 +0000 (UTC) Received: from pfg (uid 1275) (envelope-from pfg@FreeBSD.org) id 5007 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Tue, 05 Aug 2014 01:25:14 +0000 From: Pedro F. Giffuni Date: Tue, 5 Aug 2014 01:25:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269548 - head/sys/fs/ext2fs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e0327a.5007.906f8e0@svn.freebsd.org> X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2014 01:25:15 -0000 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