summaryrefslogtreecommitdiffstats
path: root/fs/afs/afs_fs.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-11-02 15:27:46 +0000
committerDavid Howells <dhowells@redhat.com>2017-11-13 15:38:17 +0000
commit91a90380efbc896eb129878553202c97213d0861 (patch)
tree92c18729b857e63a82951c255f44e628f70ed3bf /fs/afs/afs_fs.h
parent9ed900b1160ef306bc74ad0228d7ab199234c758 (diff)
downloadlinux-91a90380efbc896eb129878553202c97213d0861.tar.gz
linux-91a90380efbc896eb129878553202c97213d0861.tar.bz2
linux-91a90380efbc896eb129878553202c97213d0861.zip
afs: Add some protocol defs
Add some protocol definitions, including max field lengths, flag defs, an XDR-encoded UUID def, more VL operation IDs and more fileserver abort codes. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/afs_fs.h')
-rw-r--r--fs/afs/afs_fs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/afs/afs_fs.h b/fs/afs/afs_fs.h
index eb647323d8f0..accd886b4372 100644
--- a/fs/afs/afs_fs.h
+++ b/fs/afs/afs_fs.h
@@ -40,6 +40,7 @@ enum AFS_FS_Operations {
};
enum AFS_FS_Errors {
+ VRESTARTING = -100, /* Server is restarting */
VSALVAGE = 101, /* volume needs salvaging */
VNOVNODE = 102, /* no such file/dir (vnode) */
VNOVOL = 103, /* no such volume or volume unavailable */
@@ -51,6 +52,9 @@ enum AFS_FS_Errors {
VOVERQUOTA = 109, /* volume's maximum quota exceeded */
VBUSY = 110, /* volume is temporarily unavailable */
VMOVED = 111, /* volume moved to new server - ask this FS where */
+ VIO = 112, /* I/O error in volume */
+ VSALVAGING = 113, /* Volume is being salvaged */
+ VRESTRICTED = 120, /* Volume is restricted from using */
};
#endif /* AFS_FS_H */