Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp842550pxb; Wed, 29 Sep 2021 10:48:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEFmZwe1bB6oKqO2ipprI1w8Ug2kW348mt+BzMNxVNuX8wS1qy7/ZTJJD8fO2EKmRTerYE X-Received: by 2002:a17:906:d541:: with SMTP id cr1mr1270828ejc.81.1632937686975; Wed, 29 Sep 2021 10:48:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632937686; cv=none; d=google.com; s=arc-20160816; b=qTUJpfVA8E25ENZs+5CCc8yrboFDEoof1K7MsF1pVoTDplsGc20CFi0lR3z5q9X1oN sVCU76hjKlHpZd//Lzm6ZJXmWCLGPAGEaIpmplRcngI5cN+DaiwB0fQFJAP3xL/zVRJp ES1f2ravt0eCcXs9DAkso38V9e0pQMb+8/hVL/bbkkdYuqLdmZBX3c+HQJTRB0Ssm/rr FHhCM5OlzQS34RhAPABKF5vsI4fEp3DhxtgsgIT7kzfEvajVhKZ6IcZc+GE69wzvU2XI ObELsHVBO9rd9Gc/cndaBsPhYmxwQiaW2iYjAD+RHVgzF6Iu3s16zTmxhnSdpTVfJtRG TFkQ== 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=tv0XIl1MxadhTuZKMMBzRGDZkXxBOqIE3ZCVXFzUm8w=; b=wdzqWdp/seelQR3ORT8kXVI0tOEwAXl4ETRx5cOn/0rbUZnvem/VMK5CrPKrd+/dfg 9MZXHERC0nnga/maH3pS6AYAJwF+HnwzrGmDcNg46s3g9j/WUk4nDJ5VqMx53Yga0G7+ 0MRVw0WFUFenoXTbSOdE2aGp9Ib1ZkxBX+9RnNoTZxFRMgqZY6zsLacLS0aknGXUbXJY IY3b4MceBQBEHEFKMSHy5LvgDSPQGSrONLjKDNMDKY1bVbebsUK/2wGqHTHVbYfvpTn4 Khl/ppcvk5jD57+p8cFhdx5qi5gCtwu9PtB7OKJSDXCesu4Wqy2ugBwb94w6iLXhASQP Sg+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=I99jydNX; 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 5si558016eji.132.2021.09.29.10.47.40; Wed, 29 Sep 2021 10:48:06 -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=I99jydNX; 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 S1346106AbhI2Qux (ORCPT + 99 others); Wed, 29 Sep 2021 12:50:53 -0400 Received: from relaydlg-01.paragon-software.com ([81.5.88.159]:56134 "EHLO relaydlg-01.paragon-software.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346064AbhI2Quv (ORCPT ); Wed, 29 Sep 2021 12:50:51 -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 972FA82310; Wed, 29 Sep 2021 19:49:08 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1632934148; bh=tv0XIl1MxadhTuZKMMBzRGDZkXxBOqIE3ZCVXFzUm8w=; h=Date:To:CC:From:Subject; b=I99jydNXa5cuV8peQvZryWiB0FnSJsTABQ+Trr5MkkVPfP6qmwvJiFoLft8SvvCUg 9/lo8lKDzoinssilLTLyacR/j6Tj2/yOkomtm/A23/WPoLyJw4iu/GTHjOqSMYvrph OZJFMCdAjGJG8wePbkSoshdvYzluiFxs9d5Wf/k0= Received: from [192.168.211.131] (192.168.211.131) 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; Wed, 29 Sep 2021 19:49:08 +0300 Message-ID: <1514c7ce-9b2c-fc12-75c4-3b4cfd2639a5@paragon-software.com> Date: Wed, 29 Sep 2021 19:49:07 +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 v3 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.131] 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 Removed function, that already have been in kernel. Changed locking policy to fix some potential bugs. Changed code for readability. v3: added todo in ntfs_save_wsl_perm function. 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 | 70 +++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 37 deletions(-) -- 2.33.0