[PATCH] v9fs: make copy of the transport prototype instead of using it directly
authorLatchesar Ionkov <lucho@ionkov.net>
Fri, 23 Sep 2005 04:43:51 +0000 (21:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Sep 2005 05:17:33 +0000 (22:17 -0700)
commita8e63bff521f0387fb4f4e486dede0e78dca8f41
tree8267e3f5e8a5eb3d6fe92659def6f5bee1190b03
parent5b067676234715051cbde87083c36c8ea83f77b8
[PATCH] v9fs: make copy of the transport prototype instead of using it directly

When a new session is created it uses a template object of the specified
transport type to instantiate its own copy.  The code for the making a copy of
the template object was lost, and the object itself is attached to the v9fs
session.  This leads to many sessions using the same transport instead of
having their own copy.

The patch puts back the code that makes a copy of the template object.

Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/9p/v9fs.c