Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1666291pxb; Fri, 24 Sep 2021 09:17:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUk0v8ElM/xm+B0z79K01L2SpEWkPWJ80Q5EZA5hkUcWA/yV7b0KmSJ7yxsajwu0FlAteA X-Received: by 2002:a17:906:5950:: with SMTP id g16mr12137566ejr.391.1632500221201; Fri, 24 Sep 2021 09:17:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632500221; cv=none; d=google.com; s=arc-20160816; b=x0aDrxWCHtVH1IXPUSJbHBOGUD4Rkvnd7g+Z+/cOQ883LC2W1uqFBytkDXBfURl8pl G5BALxv07OSZ1zjHVcez1wZCXnOXhP80nheLOzIhJocFgPX66Ck6bD7Pptu5Gj2rzpLl SMGc//dqOFlktxVdyaB7j4ImyEnsBUC7smKQfJjLMN869ygajnRx3LsWZ/GoAfI8MVVh v61G86LFzynXVaK49NBthNAuQYJ2jl/ZcYsc8HHkB3QUmIgF9zjrECm8WnwjEJjubtNR Y+DDyT7W9/Xid3i4mDi2We1amtKIOnztYuwv/W7nG9X+MNAgaz3IvH2Ac1yuNr9juChR 9DLQ== 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=6R5pLsxSY5FcfwTzMBSDDdzZ3mn1dn4MVcPqfmX5t3Q=; b=TgPSebSzEBSJ6p7j1rxM7tQ+AADjbYaArXX2ToFHHm0h9x7zaLdZSAags5BQUqdE7m kL9xVSPSFahYfKCgDuiEDHI1GTYnSxeHKbZQSJn6cR6TzXSBQqKs91mgG4Cw/jd3pRkH 5mJpq6e8o8JoqXv+OXahOL9thtnFZxzYiVAfCS9hxNh9uYeptRwIT4PtNLKb77w5yvlx yjJKnwT2D2DnZJ40LIhF6Zhf7eXx6l39lNmSAfEd2v38sfzbx2vF5pMeEoTDWvVl6Cb2 Gva0VIjzblcpImx0cvXZz6aOvy+m1BdmqtdXOFMPgLGGvZ9wM9YR4Wx4jh+Qdgay2q9n 8+Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=Ok0tT6XJ; 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 e8si10082610edv.247.2021.09.24.09.16.35; Fri, 24 Sep 2021 09:17:01 -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=Ok0tT6XJ; 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 S1347357AbhIXQPb (ORCPT + 99 others); Fri, 24 Sep 2021 12:15:31 -0400 Received: from relayfre-01.paragon-software.com ([176.12.100.13]:55376 "EHLO relayfre-01.paragon-software.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233702AbhIXQPa (ORCPT ); Fri, 24 Sep 2021 12:15:30 -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 D5B571D45; Fri, 24 Sep 2021 19:13:54 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1632500034; bh=6R5pLsxSY5FcfwTzMBSDDdzZ3mn1dn4MVcPqfmX5t3Q=; h=Date:To:CC:From:Subject; b=Ok0tT6XJwfNWkDpkDoaN8pc3gh8C9oRr695OwgBQvzb0l3G8XALpcIlVUDPzkYiyG xpqjHWDSWnja9Txkd9bb5cTvEuMLBlZOMgI3jft2sAj50dBdE5x2iy+D/uMEP7P4Tv cTcti++101fKXNdmoylijcwgvbFzh3zzBL6EJ6m4= Received: from [192.168.211.101] (192.168.211.101) 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; Fri, 24 Sep 2021 19:13:54 +0300 Message-ID: Date: Fri, 24 Sep 2021 19:13:54 +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 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.101] 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. 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