]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit540d0cd36476c9b51a6369a607fd7fdca7869944
tree141a17cbea94c7c9c038187cc7081e1c688eac55
parent5be22e196c271c46c79854e7be580f521781d1f8
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: 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>
fs/super.c
fs/sync.c
include/linux/backing-dev.h
mm/backing-dev.c