afs: Sort out symlink reading
authorDavid Howells <dhowells@redhat.com>
Tue, 29 Jun 2021 21:23:13 +0000 (22:23 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 2 Nov 2021 09:40:18 +0000 (09:40 +0000)
commit75bd228d5637b58e24119a263c1b4e4a875d9498
tree2adf0860f0e7db56bfe9fef99b186f2f5be2591a
parent8bb7eca972ad531c9b149c0a51ab43a417385813
afs: Sort out symlink reading

afs_readpage() doesn't get a file pointer when called for a symlink, so
separate it from regular file pointer handling.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Link: https://lore.kernel.org/r/162687508008.276387.6418924257569297305.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/162981152280.1901565.2264055504466731917.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/163005742570.2472992.7800423440314043178.stgit@warthog.procyon.org.uk/
fs/afs/file.c
fs/afs/inode.c
fs/afs/internal.h