• Jörn Engel's avatar
    Catch filesystems lacking s_bdi · 5129a469
    Jörn Engel authored
    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>
    5129a469
sync.c 12.3 KB