aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/error.h
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2005-09-09 16:04:28 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 16:57:58 -0400
commitcb2e87a65d6cd735eb06fa595bf90497af28c37b (patch)
treeba4a261d67eb3c4830fe307ea2b97b51f0bc6fdf /fs/9p/error.h
parentb501611a6f78558eafcf09b228abd866d4ea5d9f (diff)
[PATCH] v9fs: fix handling of malformed 9P messages
This patch attempts to do a better job of cleaning up after detecting errors on the transport. This should also improve error reporting on broken connections to servers. Signed-off-by: Latchesar Ionkov <lucho@ionkov.net> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/9p/error.h')
-rw-r--r--fs/9p/error.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/9p/error.h b/fs/9p/error.h
index 2eb5927d589e..78f89acf7c9a 100644
--- a/fs/9p/error.h
+++ b/fs/9p/error.h
@@ -47,6 +47,7 @@ static struct errormap errmap[] = {
47 {"Operation not permitted", EPERM}, 47 {"Operation not permitted", EPERM},
48 {"wstat prohibited", EPERM}, 48 {"wstat prohibited", EPERM},
49 {"No such file or directory", ENOENT}, 49 {"No such file or directory", ENOENT},
50 {"directory entry not found", ENOENT},
50 {"file not found", ENOENT}, 51 {"file not found", ENOENT},
51 {"Interrupted system call", EINTR}, 52 {"Interrupted system call", EINTR},
52 {"Input/output error", EIO}, 53 {"Input/output error", EIO},