Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp412712pxb; Thu, 9 Sep 2021 04:00:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxBSvf+o/2txvumga0o26v6dq7bHztTzidpJVzH5kYt3bBOUzTmsg/0WM9lXeayIJ2nbHZT X-Received: by 2002:a05:6402:27c6:: with SMTP id c6mr2537693ede.111.1631185213228; Thu, 09 Sep 2021 04:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631185213; cv=none; d=google.com; s=arc-20160816; b=dndh0rhdXK9pfFsbz4GpKwXG76de5i6azfhiSVtZMv6rajl1i1r9YpKKX9+7IYPrqt RrOwRF+XwsWCgjJVTRUxPDNOPaqWD7HxtbrM0Xz42JDR4Bfip6S+Po/Kns/IKgnfmOZ7 kVi+ROW6V71wFK6j9fumLFykxxWgTmch6idwmXdxoGT8oodWGNtjAqU3+ycio4+1AXaY 9IzIf0z1SgmF95DLdq2dBC5JClH0/KWg2WiFTXibVCDJLuSKQ9co+eXo8QlntCSqWYY6 lm8ycuFK0cy8pgBfaJj2SIcoSyKSqHaCBKSSbEX7Ti3msZLqtiJq46RQuR0rb+T6pRes QJyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=pGRek/hfohXY6dQN+Oe6F3DUHHeJDG5t4TgyGR+GJ+s=; b=K3Rplx/CN2cQwS7ubIt83CvcAnmAk46j2Lj2yBiffEy2rydoJFju3ZCOiPyO807QW0 F6eur9LMx+rfQHSHTSzGH5OrBkDojVH6oh6VEpBSfNRlN5VbLI8TlluPkMo9AxFe6RXq aWAk2TYE2Ey0EASTytb1Dn9jtCGRcyM2yauIpJjFhR7jh6Y9889EXGSnoJo+RzdmYfK4 BgR3uCsBd1VkLX1rzCi2DQdXmGQSyaamVIFQ5JdyBxaHwSjhcTvP5YrAh3LbFsUouHIp NeDjDHErTZOXXlLlnfYOfYe6WOpRJoQQHezIv25GPiY0jbZF9UKvwhFgt1jR7GojU4B0 1iSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=LcoRI7x+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 7si1331419ejk.642.2021.09.09.03.59.49; Thu, 09 Sep 2021 04:00:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=LcoRI7x+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=paragon-software.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234633AbhIIK7S (ORCPT + 99 others); Thu, 9 Sep 2021 06:59:18 -0400 Received: from relaydlg-01.paragon-software.com ([81.5.88.159]:54261 "EHLO relaydlg-01.paragon-software.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234473AbhIIK7Q (ORCPT ); Thu, 9 Sep 2021 06:59:16 -0400 Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relaydlg-01.paragon-software.com (Postfix) with ESMTPS id D13FA8222B; Thu, 9 Sep 2021 13:58:04 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1631185084; bh=pGRek/hfohXY6dQN+Oe6F3DUHHeJDG5t4TgyGR+GJ+s=; h=Date:To:CC:From:Subject; b=LcoRI7x+dXi6QWVx05NIN1uM33Udb/dKIqalBcHX74T9oAPgUCB7mD0Z3u+aROCH8 l23NQXrHKfF3x0wn4CJCJBjB3gllODvz2Ws+fvfM9oP3RM9JNCRRGwaDOhnEKoKCxB qd5ReyZnc7RGiGo+q2Mm0uD0n9j3nYYZlZiJgoBk= Received: from [192.168.211.46] (192.168.211.46) by vdlg-exch-02.paragon-software.com (172.30.1.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 9 Sep 2021 13:58:04 +0300 Message-ID: <89127d37-a38a-d15c-36f1-62f2ac0f4507@paragon-software.com> Date: Thu, 9 Sep 2021 13:58:04 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 Content-Language: en-US To: CC: , From: Konstantin Komarov Subject: [PATCH 2/3] fs/ntfs3: Change max hardlinks limit to 4000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.211.46] X-ClientProxiedBy: vobn-exch-01.paragon-software.com (172.30.72.13) To vdlg-exch-02.paragon-software.com (172.30.1.105) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org xfstest 041 works with 3003, so we need to raise limit. Signed-off-by: Konstantin Komarov --- fs/ntfs3/ntfs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/ntfs3/ntfs.h b/fs/ntfs3/ntfs.h index 6bb3e595263b..0006481db7fa 100644 --- a/fs/ntfs3/ntfs.h +++ b/fs/ntfs3/ntfs.h @@ -21,7 +21,8 @@ #define NTFS_NAME_LEN 255 /* ntfs.sys used 500 maximum links on-disk struct allows up to 0xffff. */ -#define NTFS_LINK_MAX 0x400 +/* xfstest 041 creates 3003 hardlinks. */ +#define NTFS_LINK_MAX 4000 //#define NTFS_LINK_MAX 0xffff /* -- 2.28.0