Re: [PATCH] cifs: set backing_dev_info on new S_ISREG inodes

From: Christoph Hellwig
Date: Wed Sep 29 2010 - 19:17:59 EST


On Wed, Sep 29, 2010 at 09:49:54AM -0400, Jeff Layton wrote:
> Testing on very recent kernel (2.6.36-rc6) made this warning pop:
>
> WARNING: at fs/fs-writeback.c:87 inode_to_bdi+0x65/0x70()
> Hardware name:
> Dirtiable inode bdi default != sb bdi cifs
>
> ...the following patch fixes it and seems to be the obviously correct
> thing to do for cifs.

See my patch in the btrfs/default_backing_dev_info thread for the real
fix for the underlying issue. But your patch won't harm either way.

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