diff options
| author | David Howells <[email protected]> | 2022-09-06 21:09:11 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-09-07 01:33:01 +0000 |
| commit | 0066f1b0e27556381402db3ff31f85d2a2265858 (patch) | |
| tree | de24db7153ca954ed9cbf4f979abe669943863e0 /drivers/usb/cdns3/cdns3-ti.c | |
| parent | Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm (diff) | |
| download | kernel-0066f1b0e27556381402db3ff31f85d2a2265858.tar.gz kernel-0066f1b0e27556381402db3ff31f85d2a2265858.zip | |
afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked
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 <[email protected]>
Reviewed-by: Jeffrey E Altman <[email protected]>
cc: Marc Dionne <[email protected]>
cc: [email protected]
Link: https://lore.kernel.org/r/166075761334.3533338.2591992675160918098.stgit@warthog.procyon.org.uk/
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions
