[PATCH] v9fs: fix atomic create open
authorLatchesar Ionkov <lucho@ionkov.net>
Thu, 2 Mar 2006 10:54:30 +0000 (02:54 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 2 Mar 2006 16:33:07 +0000 (08:33 -0800)
commit6a3124a3946c16159c3faf83e62ffdb5d1134b3a
tree989f1e89ed0971824db973af5347b879e12c67cd
parent77a3313551afd53c90012e5a87f7f2b2195fc67e
[PATCH] v9fs: fix atomic create open

In order to assure atomic create+open v9fs stores the open fid produced by
v9fs_vfs_create in the dentry, from where v9fs_file_open retrieves it and
associates it with the open file.

This patch modifies v9fs to use nameidata.intent.open values to do the atomic
create+open.

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