summaryrefslogtreecommitdiffstats
path: root/fs/9p/error.h
diff options
context:
space:
mode:
authorEric Van Hensbergen <ericvh@gmail.com>2005-09-09 13:04:26 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 13:57:57 -0700
commit73c592b9b844cc353bbaea690fb4aa652ac168a6 (patch)
tree7e7abbc1a9a484a31450e1bf5b36fe602b3e20f5 /fs/9p/error.h
parent1346f51ede71fc1e5021062898d150e192dc4dc8 (diff)
downloadop-kernel-dev-73c592b9b844cc353bbaea690fb4aa652ac168a6.zip
op-kernel-dev-73c592b9b844cc353bbaea690fb4aa652ac168a6.tar.gz
[PATCH] v9fs: Clean-up vfs_inode and setattr functions
Cleanup code in v9fs vfs_inode as suggested by Alexey Dobriyan. Did some major revamping of the v9fs setattr code to remove unnecessary allocations and clean up some dead-code. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/error.h b/fs/9p/error.h
index 6dbb66f..2eb5927 100644
--- a/fs/9p/error.h
+++ b/fs/9p/error.h
@@ -139,7 +139,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},
OpenPOWER on IntegriCloud