]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
afs: Fix comment in afs_do_lookup()
authorDavid Howells <dhowells@redhat.com>
Tue, 14 Nov 2023 09:19:08 +0000 (09:19 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 1 Jan 2024 16:37:27 +0000 (16:37 +0000)
commitdd94888938f8fefc6ee29ef57560c1e87cc3e05e
tree55b742878bf3972a6c51f805063c0506bf742b13
parent32222f09782f1894fcfc37f6505ca676a6f4d1d6
afs: Fix comment in afs_do_lookup()

Fix the comment in afs_do_lookup() that says that slot 0 is used for the
fid being looked up and slot 1 is used for the directory.  It's actually
done the other way round.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
fs/afs/dir.c