Catch filesystems lacking s_bdi
authorJörn Engel <joern@logfs.org>
Sun, 25 Apr 2010 06:54:42 +0000 (08:54 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Sun, 25 Apr 2010 06:54:42 +0000 (08:54 +0200)
noop_backing_dev_info is used only as a flag to mark filesystems that
don't have any backing store, like tmpfs, procfs, spufs, etc.

Signed-off-by: Joern Engel <joern@logfs.org>
Changed the BUG_ON() to a WARN_ON(). Note that adding dirty inodes
to the noop_backing_dev_info is not legal and will not result in
them being flushed, but we already catch this condition in
__mark_inode_dirty() when checking for a registered bdi.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found