aboutsummaryrefslogtreecommitdiffstats
path: root/fs/afs/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/afs/internal.h')
-rw-r--r--fs/afs/internal.h9
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 */
701struct 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 */
701struct afs_addr_cursor { 709struct afs_addr_cursor {
@@ -1015,6 +1023,7 @@ static inline void __afs_stat(atomic_t *s)
1015 * misc.c 1023 * misc.c
1016 */ 1024 */
1017extern int afs_abort_to_error(u32); 1025extern int afs_abort_to_error(u32);
1026extern void afs_prioritise_error(struct afs_error *, int, u32);
1018 1027
1019/* 1028/*
1020 * mntpt.c 1029 * mntpt.c