// SPDX-License-Identifier: GPL-2.0-or-later /* miscellaneous bits * * Copyright (C) 2002, 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells ([email protected]) */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/errno.h> #include "internal.h" #include "afs_fs.h" #include "protocol_uae.h" /* * convert an AFS abort code to a Linux error number */ int afs_abort_to_error(u32 abort_code) { … } /* * Select the error to report from a set of errors. */ void afs_prioritise_error(struct afs_error *e, int error, u32 abort_code) { … }