| Date | Tue, 13 Mar 2012 05:51:02 -0400 | From | Christoph Hellwig <> | Subject | Re: [PATCH 00/25] vfs: atomic open RFC |
| |
Do we really need the opendata structure?
It seems like we could just pass a struct path instead of the dentry passed directly and the vfsmount in it. There should be no need to preallocate the file before calling into ->atomic_open, as it's only used to pass around f_flags - but we already pass that one to ->atomic_open directly and might as well pass it on to finish_open and allocate the file there.
|