[PATCH] afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked

Jeffrey E Altman jaltman at auristor.com
Tue Sep 6 09:11:57 PDT 2022


On 8/17/2022 1:33 PM, David Howells (dhowells at redhat.com) wrote:
> When trying to get a file lock on an AFS file, the server may return
> UAEAGAIN to indicate that the lock is already held.  This is currently
> translated by the default path to -EREMOTEIO.  Translate it instead to
> -EAGAIN so that we know we can retry it.
>
> Signed-off-by: David Howells <dhowells at redhat.com>
> cc: Marc Dionne <marc.dionne at auristor.com>
> cc: linux-afs at lists.infradead.org

Looks good to me.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4039 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-afs/attachments/20220906/019ba7ff/attachment.p7s>


More information about the linux-afs mailing list