afs: Make record checking use TASK_UNINTERRUPTIBLE when appropriate
authorDavid Howells <dhowells@redhat.com>
Thu, 16 Apr 2020 17:17:13 +0000 (18:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 2 May 2020 06:48:43 +0000 (08:48 +0200)
commitc2bdc86ec8ac483e76c4bd59fcafad3a3cf91539
tree766aa5209f5d81b1411565ef2f776ad4c15fa73c
parent9dcb1844f884e8294e46ff317b0532068784eb5f
afs: Make record checking use TASK_UNINTERRUPTIBLE when appropriate

commit c4bfda16d1b40d1c5941c61b5aa336bdd2d9904a upstream.

When an operation is meant to be done uninterruptibly (such as
FS.StoreData), we should not be allowing volume and server record checking
to be interrupted.

Fixes: d2ddc776a458 ("afs: Overhaul volume and server record caching and fileserver rotation")
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/afs/internal.h
fs/afs/rotate.c
fs/afs/server.c
fs/afs/volume.c