diff options
author | Eric Van Hensbergen <ericvh@gmail.com> | 2005-09-09 16:04:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 16:57:57 -0400 |
commit | 73c592b9b844cc353bbaea690fb4aa652ac168a6 (patch) | |
tree | 7e7abbc1a9a484a31450e1bf5b36fe602b3e20f5 /fs/9p/error.h | |
parent | 1346f51ede71fc1e5021062898d150e192dc4dc8 (diff) |
[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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/error.h b/fs/9p/error.h index 6dbb66f5b28f..2eb5927d589e 100644 --- a/fs/9p/error.h +++ b/fs/9p/error.h | |||
@@ -139,7 +139,7 @@ static struct errormap errmap[] = { | |||
139 | {"illegal mode", EINVAL}, | 139 | {"illegal mode", EINVAL}, |
140 | {"illegal name", ENAMETOOLONG}, | 140 | {"illegal name", ENAMETOOLONG}, |
141 | {"not a directory", ENOTDIR}, | 141 | {"not a directory", ENOTDIR}, |
142 | {"not a member of proposed group", EINVAL}, | 142 | {"not a member of proposed group", EPERM}, |
143 | {"not owner", EACCES}, | 143 | {"not owner", EACCES}, |
144 | {"only owner can change group in wstat", EACCES}, | 144 | {"only owner can change group in wstat", EACCES}, |
145 | {"read only file system", EROFS}, | 145 | {"read only file system", EROFS}, |