]> git.baikalelectronics.ru Git - kernel.git/commit
9p: fix bug in attach-per-user
authorEric Van Hensbergen <ericvh@opteron.homeip.net>
Thu, 7 Feb 2008 01:25:08 +0000 (19:25 -0600)
committerEric Van Hensbergen <ericvh@opteron.homeip.net>
Thu, 7 Feb 2008 01:25:08 +0000 (19:25 -0600)
commite8df3b9e1db240d7feaeff96ca5197b57efb10a3
treed0dc2da7b6ef0600eb3a626eee1f4717da20763f
parent90f2979ccabf1241e6611119a04fe17ed979a3d0
9p: fix bug in attach-per-user

When a new user attached at a directory other than the root, he would end
up in the parent directory of the cwd.  This was due to a logic error in
the code which attaches the user at the mount point and walks back to the
cwd.  This patch fixes that.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/fid.c