diff options
Diffstat (limited to 'fs/afs/errors.h')
-rw-r--r-- | fs/afs/errors.h | 14 |
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 | */ | ||
18 | typedef enum { | 20 | typedef 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 | ||
32 | extern int afs_abort_to_error(int abortcode); | 34 | extern int afs_abort_to_error(int); |
33 | 35 | ||
34 | #endif /* _LINUX_AFS_ERRORS_H */ | 36 | #endif /* AFS_ERRORS_H */ |