Skip to content
Commit 5129a469 authored by Jörn Engel's avatar Jörn Engel Committed by Jens Axboe
Browse files

Catch filesystems lacking s_bdi



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: default avatarJoern 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: default avatarJens Axboe <jens.axboe@oracle.com>
parent 7e2455c1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment