Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4762217pxb; Tue, 5 Oct 2021 09:47:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwY5plSDLryPMB57FYI1T55CVV+okofp3EP861eqLcFFH1HvuXzsVGxxVzaiJJ6C0qoa4SV X-Received: by 2002:a05:6402:1057:: with SMTP id e23mr27866148edu.352.1633452427826; Tue, 05 Oct 2021 09:47:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633452427; cv=none; d=google.com; s=arc-20160816; b=snE3WsguIWpQ5zbvY5jPQpjfKYFTt3LVz89YhHKhR0YTVP8sAVsaHPM6bOsJafKuyq gRQAmILLmf+XAedSS4lS1g7Cjf4WtFSNQ4lw1hbjmW34MP1tdNZqa9YxcyIuf5kSahWk qT/VA0Bx8gsGDqR6Nu3nJ/0696Ulv3pOJ7edlvCt+afAQh/Q9V/9ZeeFP0szn/Rc7aqK L89+hO/7uk7ZYO5slFjZbP+PunVzyvV/APApoon7ksSJ7UlwSlUzBXXO/UMfW4iwAvPy +i+0KcFrP9EgGZQuud5WEE2eEhTID7z+jgsi51nYIUgTrwEW6CRlWvldthXIj/AYERQ7 3tVw== 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=4SlxtbDubO4N9p0GVXOUXPd4mZzR8LaYmU53E74TNIU=; b=GAPIVVxa02+sWHpbrs3Ov9fcP0Wau+OyOPiC2ZjwQdafQrN7kYpC7/AtYSCqogfYWJ 1vA/uhAC76IkCYSqM9QA/PSBGhzC7XJCtTNPveL+pn4M3tpi+hhHJaTrJANK4Mk/q1So ZS29vUdsuFK+23PD73872CeGK/vQTseM6N3oePQIvBYxHj/aqmY06SGRFVeID02ltugd iJoBZCItQxahOblRLffRYxtpal4t9zFmHLr2a6mKUw0/WCJs7CTmlZ5t1whkfp+vRNWD OOn2OddLNsF0zkqfU6wGr56AxR2HJpQi86ZQb9lubS0+xyvjWMxPi8Cuu9AIH+CpI0E+ 2w3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=PMwhkxL3; 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 6si28873858eje.339.2021.10.05.09.46.43; Tue, 05 Oct 2021 09:47:07 -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=PMwhkxL3; 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 S236574AbhJEQpd (ORCPT + 99 others); Tue, 5 Oct 2021 12:45:33 -0400 Received: from relayfre-01.paragon-software.com ([176.12.100.13]:34190 "EHLO relayfre-01.paragon-software.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230445AbhJEQp2 (ORCPT ); Tue, 5 Oct 2021 12:45:28 -0400 Received: from dlg2.mail.paragon-software.com (vdlg-exch-02.paragon-software.com [172.30.1.105]) by relayfre-01.paragon-software.com (Postfix) with ESMTPS id 158531D3B; Tue, 5 Oct 2021 19:43:31 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1633452211; bh=4SlxtbDubO4N9p0GVXOUXPd4mZzR8LaYmU53E74TNIU=; h=Date:To:CC:From:Subject; b=PMwhkxL3MzQ53EEWM5lt9YyZYfaXSwAxsqB11nxTrDsiiUh6atG5QwMSYNLbodFp3 LmA5IDcBNZzApAPM+G+6nVQyjIbuk0j+PyTugHMangT286JlwvBqykTrHUEx1EkAr8 9D2CgDjP1NeDhRbJoGVyZEXySp8K91EySL7//TRY= Received: from [192.168.211.181] (192.168.211.181) 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; Tue, 5 Oct 2021 19:43:30 +0300 Message-ID: <98a166e4-f894-8bff-9479-05ef5435f1ed@paragon-software.com> Date: Tue, 5 Oct 2021 19:43:30 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Content-Language: en-US To: CC: , From: Konstantin Komarov Subject: [PATCH 0/5] fs/ntfs3: Reworking symlink functions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.211.181] 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 If length of symlink > 255, then we tried to convert length of symlink +- some random number. So main theme is removing 255 symbols limit in ntfs_utf16_to_nls. Other bug - we haven't always returned correct size of symlink, so we save it now in ntfs_create_inode. Many commits affected, so no fixes tag. This series fixes xfstest generic/423. Konstantin Komarov (5): fs/ntfs3: Rework ntfs_utf16_to_nls fs/ntfs3: Refactor ntfs_readlink_hlp fs/ntfs3: Refactor ntfs_create_inode fs/ntfs3: Refactor ni_parse_reparse fs/ntfs3: Refactor ntfs_read_mft fs/ntfs3/dir.c | 19 +++---- fs/ntfs3/frecord.c | 9 ++-- fs/ntfs3/inode.c | 124 +++++++++++++++++++++------------------------ fs/ntfs3/ntfs_fs.h | 4 +- 4 files changed, 74 insertions(+), 82 deletions(-) -- 2.33.0