aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/errors.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2007-04-26 18:49:28 -0400
committerDavid S. Miller <davem@davemloft.net>2007-04-26 18:49:28 -0400
commitec26815ad847dbf74a1e27aa5515fb7d5dc6ee6f (patch)
tree32510ab35b3524f6be9231ab8065b80be5d9b68d /fs/afs/errors.h
parent17926a79320afa9b95df6b977b40cca6d8713cea (diff)
[AFS]: Clean up the AFS sources
Clean up the AFS sources. Also remove references to AFS keys. RxRPC keys are used instead. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/errors.h')
-rw-r--r--fs/afs/errors.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/fs/afs/errors.h b/fs/afs/errors.h
index 574d94ac8d05..bcc0a3309e72 100644
--- a/fs/afs/errors.h
+++ b/fs/afs/errors.h
@@ -1,4 +1,4 @@
1/* errors.h: AFS abort/error codes 1/* AFS abort/error codes
2 * 2 *
3 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved. 3 * Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
4 * Written by David Howells (dhowells@redhat.com) 4 * Written by David Howells (dhowells@redhat.com)
@@ -9,12 +9,14 @@
9 * 2 of the License, or (at your option) any later version. 9 * 2 of the License, or (at your option) any later version.
10 */ 10 */
11 11
12#ifndef _LINUX_AFS_ERRORS_H 12#ifndef AFS_ERRORS_H
13#define _LINUX_AFS_ERRORS_H 13#define AFS_ERRORS_H
14 14
15#include "types.h" 15#include "types.h"
16 16
17/* file server abort codes */ 17/*
18 * file server abort codes
19 */
18typedef enum { 20typedef enum {
19 VSALVAGE = 101, /* volume needs salvaging */ 21 VSALVAGE = 101, /* volume needs salvaging */
20 VNOVNODE = 102, /* no such file/dir (vnode) */ 22 VNOVNODE = 102, /* no such file/dir (vnode) */
@@ -29,6 +31,6 @@ typedef enum {
29 VMOVED = 111, /* volume moved to new server - ask this FS where */ 31 VMOVED = 111, /* volume moved to new server - ask this FS where */
30} afs_rxfs_abort_t; 32} afs_rxfs_abort_t;
31 33
32extern int afs_abort_to_error(int abortcode); 34extern int afs_abort_to_error(int);
33 35
34#endif /* _LINUX_AFS_ERRORS_H */ 36#endif /* AFS_ERRORS_H */