[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>
Showing
- fs/9p/9p.c 0 additions, 10 deletionsfs/9p/9p.c
- fs/9p/9p.h 0 additions, 3 deletionsfs/9p/9p.h
- fs/9p/conv.c 9 additions, 36 deletionsfs/9p/conv.c
- fs/9p/error.h 0 additions, 1 deletionfs/9p/error.h
- fs/9p/mux.c 26 additions, 12 deletionsfs/9p/mux.c
- fs/9p/mux.h 2 additions, 1 deletionfs/9p/mux.h
- fs/9p/v9fs.c 14 additions, 5 deletionsfs/9p/v9fs.c
- fs/9p/vfs_inode.c 6 additions, 1 deletionfs/9p/vfs_inode.c
- fs/9p/vfs_super.c 1 addition, 2 deletionsfs/9p/vfs_super.c
Please register or sign in to comment