On Thu, Aug 4, 2011 at 12:14 PM, Christoph Hellwig <h...@lst.de> wrote: > On Thu, Aug 04, 2011 at 09:46:33AM +0100, Stefan Hajnoczi wrote: >> +/** >> + * Set open flags for a given cache mode >> + * >> + * Return 0 on success, -1 if the cache mode was invalid. >> + */ >> +int bdrv_set_cache_flags(const char *mode, int *flags) > > I would call this bdrv_parse_cache_flags.
Fixed in v3. Stefan