Re: [PATCH 2/4] Assign bdi in super_block

From: Christoph Hellwig
Date: Fri Sep 11 2009 - 14:01:16 EST


On Fri, Sep 11, 2009 at 01:50:30PM +0200, Jens Axboe wrote:
> We do this automatically in get_sb_bdev() from the set_bdev_super()
> callback. Filesystems that have their own private backing_dev_info
> must assign that in ->fill_super().
>
> Note that ->s_bdi assignment is required for proper writeback!

Looks good to me. Can we get rid of BDI_CAP_NO_WRITEBACK with this by
simply not assigning a bdi?

--
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/