]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
afs: Return ENOENT if no cell DNS record can be found
authorDavid Howells <dhowells@redhat.com>
Thu, 26 Oct 2023 00:25:07 +0000 (01:25 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 24 Nov 2023 14:51:18 +0000 (14:51 +0000)
commit0167236e7d66c5e1e85d902a6abc2529b7544539
tree9e5ce18f5be8b2cf36c0b20f51ebe906af33dbbf
parent2a4ca1b4b77850544408595e2433f5d7811a9daa
afs: Return ENOENT if no cell DNS record can be found

Make AFS return error ENOENT if no cell SRV or AFSDB DNS record (or
cellservdb config file record) can be found rather than returning
EDESTADDRREQ.

Also add cell name lookup info to the cursor dump.

Fixes: d5c32c89b208 ("afs: Fix cell DNS lookup")
Reported-by: Markus Suvanto <markus.suvanto@gmail.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216637
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
fs/afs/vl_rotate.c