From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB753C433EF for ; Thu, 9 Sep 2021 19:49:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AE5B06108B for ; Thu, 9 Sep 2021 19:49:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344178AbhIITuQ (ORCPT ); Thu, 9 Sep 2021 15:50:16 -0400 Received: from zeniv-ca.linux.org.uk ([142.44.231.140]:50698 "EHLO zeniv-ca.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343904AbhIITuO (ORCPT ); Thu, 9 Sep 2021 15:50:14 -0400 Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mOQ0b-002gdC-UW; Thu, 09 Sep 2021 19:46:54 +0000 Date: Thu, 9 Sep 2021 19:46:53 +0000 From: Al Viro To: Linus Torvalds Cc: Linux Kernel Mailing List , linux-fsdevel Subject: Re: [git pull] gfs2 setattr patches Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 09, 2021 at 12:41:33PM -0700, Linus Torvalds wrote: > On Wed, Sep 8, 2021 at 9:27 PM Al Viro wrote: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.gfs2 > > > > for you to fetch changes up to d75b9fa053e4cd278281386d860c26fdbfbe9d03: > > > > gfs2: Switch to may_setattr in gfs2_setattr (2021-08-13 00:41:05 -0400) > > Explanation for what this series actually does? > > I can see the shortlog, I can look at the commits, but I really want a > summary in the pull request. Basically, gfs2 has redo the permission checks after it grabs a cluster lock, and they want to have that doable by call of shared helper, rather than open-coding those checks. Looks reasonable to me...