android_kernel_motorola_sm6375/fs/afs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Howells c53c3cbca5 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 <[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]>
Signed-off-by: Sasha Levin <[email protected]>
2022-09-28 11:03:59 +02:00
..
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 13:30:58 +02:00
dir.c afs: Fix infinite loop found by xfstest generic/676 2022-06-14 18:11:55 +02:00
dir_edit.c
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 12:04:55 +02:00
fs_probe.c
fsclient.c afs: Use the operation issue time instead of the reply time for callbacks 2022-09-15 12:04:55 +02:00
inode.c afs: Fix dynamic root getattr 2022-06-29 08:58:46 +02:00
internal.h afs: Use the operation issue time instead of the reply time for callbacks 2022-09-15 12:04:55 +02:00
Kconfig
main.c afs: Fix an IS_ERR() vs NULL check 2021-06-23 14:41:23 +02:00
Makefile
misc.c afs: Return -EAGAIN, not -EREMOTEIO, when a file already locked 2022-09-28 11:03:59 +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 12:04:55 +02:00
security.c
server.c
server_list.c
super.c
vl_list.c
vl_probe.c
vl_rotate.c
vlclient.c
volume.c
write.c
xattr.c
xdr_fs.h
yfsclient.c afs: Use the operation issue time instead of the reply time for callbacks 2022-09-15 12:04:55 +02:00