diff options
Diffstat (limited to 'fs/afs/internal.h')
| -rw-r--r-- | fs/afs/internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index 5da3b09b7518..8871b9e8645f 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h | |||
| @@ -696,6 +696,14 @@ struct afs_interface { | |||
| 696 | }; | 696 | }; |
| 697 | 697 | ||
| 698 | /* | 698 | /* |
| 699 | * Error prioritisation and accumulation. | ||
| 700 | */ | ||
| 701 | struct afs_error { | ||
| 702 | short error; /* Accumulated error */ | ||
| 703 | bool responded; /* T if server responded */ | ||
| 704 | }; | ||
| 705 | |||
| 706 | /* | ||
| 699 | * Cursor for iterating over a server's address list. | 707 | * Cursor for iterating over a server's address list. |
| 700 | */ | 708 | */ |
| 701 | struct afs_addr_cursor { | 709 | struct afs_addr_cursor { |
| @@ -1015,6 +1023,7 @@ static inline void __afs_stat(atomic_t *s) | |||
| 1015 | * misc.c | 1023 | * misc.c |
| 1016 | */ | 1024 | */ |
| 1017 | extern int afs_abort_to_error(u32); | 1025 | extern int afs_abort_to_error(u32); |
| 1026 | extern void afs_prioritise_error(struct afs_error *, int, u32); | ||
| 1018 | 1027 | ||
| 1019 | /* | 1028 | /* |
| 1020 | * mntpt.c | 1029 | * mntpt.c |
