]> err.no Git - linux-2.6/blobdiff - fs/9p/error.h
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
[linux-2.6] / fs / 9p / error.h
index 6dbb66f5b28fa29de1e4cd061a10ed9ce88c66c0..78f89acf7c9affa0552ea442b75e8be06787bfc3 100644 (file)
@@ -47,6 +47,7 @@ static struct errormap errmap[] = {
        {"Operation not permitted", EPERM},
        {"wstat prohibited", EPERM},
        {"No such file or directory", ENOENT},
+       {"directory entry not found", ENOENT},
        {"file not found", ENOENT},
        {"Interrupted system call", EINTR},
        {"Input/output error", EIO},
@@ -139,7 +140,7 @@ static struct errormap errmap[] = {
        {"illegal mode", EINVAL},
        {"illegal name", ENAMETOOLONG},
        {"not a directory", ENOTDIR},
-       {"not a member of proposed group", EINVAL},
+       {"not a member of proposed group", EPERM},
        {"not owner", EACCES},
        {"only owner can change group in wstat", EACCES},
        {"read only file system", EROFS},