summaryrefslogtreecommitdiff
path: root/fs/notify
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2022-09-06 22:09:11 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-09-06 21:33:01 -0400
commit0066f1b0e27556381402db3ff31f85d2a2265858 (patch)
treede24db7153ca954ed9cbf4f979abe669943863e0 /fs/notify
parent19f516ea34f943edd5bfe9ca0c0050a7660c230c (diff)
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 <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>
Diffstat (limited to 'fs/notify')
0 files changed, 0 insertions, 0 deletions