OrangePi_CM5/fs/afs
David Howells 72602bc620 afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked
[ Upstream commit 0066f1b0e27556381402db3ff31f85d2a2265858 ]

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@redhat.com>
Reviewed-by: Jeffrey E Altman <jaltman@auristor.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Link: https://lore.kernel.org/r/166075761334.3533338.2591992675160918098.stgit@warthog.procyon.org.uk/
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-23 14:17:00 +02:00
..
Kconfig
…
Makefile
…
addr_list.c
…
afs.h
…
afs_cm.h
…
afs_fs.h
…
afs_vl.h
…
cache.c
…
callback.c
…
cell.c
…
cmservice.c afs: Fix tracepoint string placement with built-in AFS 2021-07-28 14:35:41 +02:00
dir.c afs: Fix infinite loop found by xfstest generic/676 2022-06-14 18:32:37 +02:00
dir_edit.c afs: Fix updating of i_blocks on file/dir extension 2021-09-30 10:11:01 +02:00
dir_silly.c
…
dynroot.c
…
file.c
…
flock.c afs: Use the operation issue time instead of the reply time for callbacks 2022-09-15 11:32:05 +02:00
fs_operation.c
…
fs_probe.c
…
fsclient.c afs: Use the operation issue time instead of the reply time for callbacks 2022-09-15 11:32:05 +02:00
inode.c afs: Fix dynamic root getattr 2022-06-29 08:59:49 +02:00
internal.h afs: Use the operation issue time instead of the reply time for callbacks 2022-09-15 11:32:05 +02:00
main.c
…
misc.c afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked 2022-09-23 14:17:00 +02:00
mntpt.c
…
proc.c
…
protocol_uae.h
…
protocol_yfs.h
…
rotate.c
…
rxrpc.c afs: Use the operation issue time instead of the reply time for callbacks 2022-09-15 11:32:05 +02:00
security.c
…
server.c
…
server_list.c
…
super.c
…
vl_alias.c
…
vl_list.c
…
vl_probe.c
…
vl_rotate.c
…
vlclient.c
…
volume.c
…
write.c afs: Fix updating of i_blocks on file/dir extension 2021-09-30 10:11:01 +02:00
xattr.c
…
xdr_fs.h
…
yfsclient.c afs: Use the operation issue time instead of the reply time for callbacks 2022-09-15 11:32:05 +02:00