Skip to contentSkip to conversation

v9fs: Clean-up vfs_inode and setattr functions

PATCH New [email protected] 1 participant 2 messages Jun 22, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v9fs: Clean-up vfs_inode and setattr functions

Cleanup code in v9fs vfs_inode as suggested by Alexy Dobriyan. Did some major revamping of the v9fs setattr code to remove unnecessary allocations and clean up some dead-code.

---
commit 90d763e77646e85c987fc550d19ff931554aba60
tree 7920ec6da8d53ba6582f99f9430cfc6f56eae3f6
parent da6dde6453bdefc66ae7f162dc4d212af8e2b353
author Eric Van Hensbergen <[email protected]> Tue, 21 Jun 2005 20:12:15 -0500 committer Eric Van Hensbergen <[email protected]> Tue, 21 Jun 2005 20:12:15 -0500

 fs/9p/error.h     |    2 -
 fs/9p/vfs_inode.c |  130 ++++++++++++++++-------------------------------------
 2 files changed, 40 insertions(+), 92 deletions(-)
fs/9p/error.h +1 -1
@@ -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},
fs/9p/vfs_inode.c +39 -91

278 lines not on this page · raw message

#1 lore raw

PATCH 1/1 v9fs: Clean-up vfs_inode and setattr functions

Quoted 1 line · On 6/21/05, [email protected] <[email protected]> wrote:

Cleanup code in v9fs vfs_inode as suggested by Alexy Dobriyan.

Make that Alexey Dobriyan.

Quoted 5 lines

Did some major revamping of the v9fs setattr code to remove unnecessary allocations and clean up some dead-code.

[patch contents remain the same]

-eric