From patchwork Fri Sep 24 16:13:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konstantin Komarov X-Patchwork-Id: 12515909 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A151C433EF for ; Fri, 24 Sep 2021 16:13:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2E4E36124B for ; Fri, 24 Sep 2021 16:13:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347356AbhIXQPa (ORCPT ); Fri, 24 Sep 2021 12:15:30 -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 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-fsdevel@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(-)