Re: [PATCH 3/3] bdi: Initialize noop_backing_dev_info properly

From: Jan Kara
Date: Tue Jul 27 2010 - 13:18:12 EST

On Tue 27-07-10 13:09:39, Christoph Hellwig wrote:
> On Tue, Jul 27, 2010 at 07:05:01PM +0200, Jan Kara wrote:
> > Properly initialize this backing dev info so that writeback code does not
> > barf when getting to it e.g. via sb->s_bdi.
> When do we actually get it in s_bdi? That should never happen.
Well, set_anon_super() sets it. I'm not sure if filesystems using this
are supposed to reset it to something else or not... It's a bit messy and
nowhere is actually written how things should be. One can just guess ;)

Jan Kara <jack@xxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at