]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] v9fs: fix fid management in v9fs_create
authorLatchesar Ionkov <lucho@ionkov.net>
Sun, 8 Jan 2006 09:04:59 +0000 (01:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:05 +0000 (20:14 -0800)
commitd8da097afb765654c866062148fd98b11db9003e
tree35dc36ed893bceb63168eba245791b6d0a850698
parent3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0
[PATCH] v9fs: fix fid management in v9fs_create

v9fs_create doesn't manage correctly the fids when it is called to create a
directory..  The fid created by the create 9P call (newfid) and the one
created by walking to already created file (wfidno) are not used
consistently.

This patch cleans up the usage of newfid and wfidno.

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/vfs_inode.c