Re: [PATCH 00/25] vfs: atomic open RFC

From: Christoph Hellwig
Date: Tue Mar 13 2012 - 05:51:06 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/