Re: [git pull] gfs2 setattr patches

From: Al Viro
Date: Thu Sep 09 2021 - 15:49:09 EST


On Thu, Sep 09, 2021 at 12:41:33PM -0700, Linus Torvalds wrote:
> On Wed, Sep 8, 2021 at 9:27 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> 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...