]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0834db7fdda2664eca9d5f5ebe9a2cb8e870baca
tree8267e3f5e8a5eb3d6fe92659def6f5bee1190b03
parent477e424e9fb08e7203a36fc33e001c767aaf6685
[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