Re: [PATCH 4.19 325/639] afs: Fix AFS file locking to allow fine grained locks

From: Greg Kroah-Hartman
Date: Sun Jan 26 2020 - 14:05:57 EST


On Sun, Jan 26, 2020 at 07:57:03PM +0100, Pavel Machek wrote:
> On Fri 2020-01-24 10:28:15, Greg Kroah-Hartman wrote:
> > From: David Howells <dhowells@xxxxxxxxxx>
> >
> > [ Upstream commit 68ce801ffd82e72d5005ab5458e8b9e59f24d9cc ]
> >
> > Fix AFS file locking to allow fine grained locks as some applications, such
> > as firefox, won't work if they can't take such locks on certain state files
> > - thereby preventing the use of kAFS to distribute a home directory.
> >
> > Note that this cannot be made completely functional as the protocol only
> > has provision for whole-file locks, so there exists the possibility
>
> Is this suitable for -stable?

Yes, it fixes a bug.