Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4054655pxb; Mon, 27 Sep 2021 08:28:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGR+DxAqLUJX0XEaj5W1vcNCnftz7Twp+B36CVxNZA+YVRoC86T4p7IYACi613kx+csSt5 X-Received: by 2002:a17:90a:9292:: with SMTP id n18mr20444388pjo.120.1632756485176; Mon, 27 Sep 2021 08:28:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632756485; cv=none; d=google.com; s=arc-20160816; b=OZA/sK4Uszahcf18A/ksI8DBVka/bWXjwW30Bt4xV0v2rcaHZaoQazKlN+G+JmZC1P ifx0D5yuFPi2DqrzDSAdxPMz5NEw3NdCmH+mJb3vBIWKN/6eCHr6JIyvcan69ZPR8u5S 3Dfq3BjRm+m1anCSzl5yUv+7Jy+Wa3BxBDtxKxAu77/MKPLSIGKE/H43wQs9XdL3HCKY YPai5suUlemK9h9+LXkX8j2Lp/pr9exCl6oIyNXQh91pLpB4AVEcOeX+TdS0tnWW+dkt ZwgAJg27vPc+LMyUmvjkvkSNrHEOOuUKWp125hwbSYBa6IxHTl/cpgQlWFAdhhLXwGsi Tvmg== 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=i6bYZLXmor/RfRF2EogMQiOHKnFbIX15Y4f9ovWqXAs=; b=kVzSFQg3bh4FbBd4lGsNMGb1J3k8vzFZVEomR0NaRg2NBJvwBo75anBm+h5JyaeUjZ ESOm8A6kTgl+kZSxSmUdWkKMeqAL/AcIOtCTjuJqn05iYGrqSMOHrixS4dj2BPu4bskY A4u7/XkhvzNCH8darF9/RR1UIrVBRjPsajRaltFY28kbc7J0nPvKjtwZvxkJIzWQ0O/5 DDmKsJ5ewBZNiErK56Z2VWIvcvsZuxtYxHgJITOsxSAVoph7lQplphvlK/I1gDvjJp5O RpIOhybY/uLhce+JYNMBQ47yeD9NWlgSPzdWsoa1Y99uywyGMxATizvzhjzoZudssIuQ HESA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=t3R0Pr22; 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 t4si25035935pjh.27.2021.09.27.08.27.45; Mon, 27 Sep 2021 08:28:05 -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=t3R0Pr22; 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 S235144AbhI0P2V (ORCPT + 99 others); Mon, 27 Sep 2021 11:28:21 -0400 Received: from relaydlg-01.paragon-software.com ([81.5.88.159]:38042 "EHLO relaydlg-01.paragon-software.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235112AbhI0P2H (ORCPT ); Mon, 27 Sep 2021 11:28:07 -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 53D4F82215; Mon, 27 Sep 2021 18:26:27 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1632756387; bh=i6bYZLXmor/RfRF2EogMQiOHKnFbIX15Y4f9ovWqXAs=; h=Date:To:CC:From:Subject; b=t3R0Pr22o2nLBd6mqHe5Y7V33SVKrLXht0jffz9WkWw07Jmr7mgUMfRHgI+g/Im1Y mGVXcdKzkVc0WBJEfARUmq9AAkUQSvZDobDTlTHJMR2UMtznOyZ3V3oCJKlvu+LL2N m4I2eimlt3Hqgf5tXNKrFc5m0KRZLK/c2SbQYgl0= Received: from [192.168.211.27] (192.168.211.27) 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; Mon, 27 Sep 2021 18:26:27 +0300 Message-ID: Date: Mon, 27 Sep 2021 18:26:26 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.1 Content-Language: en-US To: CC: , From: Konstantin Komarov Subject: [PATCH v2 0/3] fs/ntfs3: Refactoring of xattr.c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.211.27] X-ClientProxiedBy: vdlg-exch-02.paragon-software.com (172.30.1.105) To vdlg-exch-02.paragon-software.com (172.30.1.105) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Removed function, that already have been in kernel. Changed locking policy to fix some potential bugs. Changed code for readability. V2: fixed typo. Konstantin Komarov (3): fs/ntfs3: Use available posix_acl_release instead of ntfs_posix_acl_release fs/ntfs3: Remove locked argument in ntfs_set_ea fs/ntfs3: Refactoring of ntfs_set_ea fs/ntfs3/xattr.c | 69 ++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 37 deletions(-) -- 2.33.0