Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp619965pxb; Wed, 22 Sep 2021 09:16:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkjvdgiWXqzZOnQ81/7ISmjloo8smFJZ1DhmhwD6K4FuCyhvHxaYbuqeaO6pi1eYWeiEZz X-Received: by 2002:a5e:c018:: with SMTP id u24mr368838iol.129.1632327409218; Wed, 22 Sep 2021 09:16:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632327409; cv=none; d=google.com; s=arc-20160816; b=MjtLZhDMMiXgr98pNOqFniYJ5EWHoZMAKCYUiGY/AKwfcOTr9ICunxFUSrZbNhEVMd QapectRZBqf3gu1hXg9x64Eb9qHyN1JvHdiWViOB8QPXwRXTJzwZbXnUiKP1VSQQONaC KkRjxUGwLQY8kQ8tdfci2is1TE6eJyu3cxdoCMuvbaIQt1rt88l3MX+eb7DxXLgZShGz RWSQq4Ehm2bl2LxQ4O2lSCGcC0jwaxudWYj9nUsP0lfJFr1zMHOaRQZ4B39qofQ4AUTz 7qbcLXWnQOjHLEgex2rMYN4U2GzOAyYLHMN9Dw8tIRazQNjk+mZu+8Lap8pW88wd7Di6 oZGw== 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=M5bfFgoFlXE4KcXmZ923eoBepB1UY06djY36XfpJqD8=; b=UbLHa/qX5AYyZcGHU10uZv5LD9z7kVj3GbY+No14RzwjlN54hJSLkdFnsyW3xrRN1P XISejOv1nDH+z/z0tHVg1Zp5IGQ7oHxCPfWG6IU21jEOSrH4IRgHZ/r15nGtc5gYa6Zr NX5CK0Y5JO1MElaMUwsWmSAg+P8fOYKjG3YM+tS/GXQOezGwNHq5VB3sKf8i2xvjigRj C3Y21sGoMjhN1uGxK1fQl2auSavRj3l3TM8Xfn4RUOcry0rJSN8+lvOvW5ML/IjDpxkF oq9bkMsjDsX0BVE00liUCFktUoG8DiEe4FnbauCxXr9fXreEhxEl0sRlbPdvvrSWaZuT 4jrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paragon-software.com header.s=mail header.b=AnMm+MOU; 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 e43si2752634jaf.97.2021.09.22.09.16.30; Wed, 22 Sep 2021 09:16:49 -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=AnMm+MOU; 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 S236590AbhIVQQw (ORCPT + 99 others); Wed, 22 Sep 2021 12:16:52 -0400 Received: from relaydlg-01.paragon-software.com ([81.5.88.159]:39904 "EHLO relaydlg-01.paragon-software.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232357AbhIVQQw (ORCPT ); Wed, 22 Sep 2021 12:16:52 -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 7BEED82304; Wed, 22 Sep 2021 19:15:20 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paragon-software.com; s=mail; t=1632327320; bh=M5bfFgoFlXE4KcXmZ923eoBepB1UY06djY36XfpJqD8=; h=Date:To:CC:From:Subject; b=AnMm+MOUivqDSWHpbRKht4sFkHLQT7L8HPV68cpsn0MjCXqblrfjIydc08/7e4tjY V3PJq2xYOaIQ4BVgwbjAmg3X5w3NtDxeTz4TqZDioDVSligWOQzcT97hOwobWYQf1o wMvCFINhroRqEj6nM6VzpbkjCdg/EJNE0e15oyCg= Received: from [192.168.211.195] (192.168.211.195) 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, 22 Sep 2021 19:15:20 +0300 Message-ID: <2771ff62-e612-a8ed-4b93-5534c26aef9e@paragon-software.com> Date: Wed, 22 Sep 2021 19:15:19 +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/5] Refactor locking in inode_operations Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.211.195] 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 Speed up work with dir lock. Theoretically in successful cases those locks aren't needed at all. But proving the same for error cases is difficult. So instead of removing them we just move them. Konstantin Komarov (5): fs/ntfs3: Move ni_lock_dir and ni_unlock into ntfs_create_inode fs/ntfs3: Refactor ntfs_get_acl_ex for better readability fs/ntfs3: Pass flags to ntfs_set_ea in ntfs_set_acl_ex fs/ntfs3: Change posix_acl_equiv_mode to posix_acl_update_mode fs/ntfs3: Refactoring lock in ntfs_init_acl fs/ntfs3/inode.c | 17 ++++++++-- fs/ntfs3/namei.c | 20 ----------- fs/ntfs3/xattr.c | 88 +++++++++++++++++------------------------------- 3 files changed, 45 insertions(+), 80 deletions(-) -- 2.33.0