[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>
Showing
- fs/9p/fid.c 17 additions, 56 deletionsfs/9p/fid.c
- fs/9p/fid.h 2 additions, 3 deletionsfs/9p/fid.h
- fs/9p/v9fs_vfs.h 1 addition, 0 deletionsfs/9p/v9fs_vfs.h
- fs/9p/vfs_file.c 40 additions, 66 deletionsfs/9p/vfs_file.c
- fs/9p/vfs_inode.c 312 additions, 166 deletionsfs/9p/vfs_inode.c
- fs/9p/vfs_super.c 7 additions, 5 deletionsfs/9p/vfs_super.c
Loading
Please register or sign in to comment