[PATCH] v9fs: handle kthread_create failure, minor bugfixes
authorLatchesar Ionkov <lucho@ionkov.net>
Sun, 8 Jan 2006 09:05:02 +0000 (01:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:06 +0000 (20:14 -0800)
commit1dac06b20dcc8078dab037bd70652c69c67ba672
tree34436f474074aa2760604555e3aa9b02df18fce2
parent531b1094b74365dcc55fa464d28a9a2497ae825d
[PATCH] v9fs: handle kthread_create failure, minor bugfixes

- remove unnecessary -ENOMEM assignments
- return correct value when buf_check_size for second time in a buffer
- handle failures when create_workqueue and kthread_create are called
- use kzalloc instead of kmalloc/memset 0
- v9fs_str_copy and v9fs_str_compare were buggy, were used only in one
  place, correct the logic and move it to the place it is used.

Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/9p/9p.c
fs/9p/9p.h
fs/9p/conv.c
fs/9p/error.h
fs/9p/mux.c
fs/9p/mux.h
fs/9p/v9fs.c
fs/9p/vfs_inode.c
fs/9p/vfs_super.c