diff --git a/fs/afs/rotate.c b/fs/afs/rotate.c index c3ae324781f8..838810da8d5c 100644 --- a/fs/afs/rotate.c +++ b/fs/afs/rotate.c @@ -459,6 +459,8 @@ bool afs_select_fileserver(struct afs_fs_cursor *fc) s->probe.abort_code); } + error = e.error; + failed_set_error: fc->error = error; failed: