]> git.baikalelectronics.ru Git - kernel.git/commit
writeback: splice dirty inode entries to default bdi on bdi_destroy()
authorJens Axboe <jens.axboe@oracle.com>
Mon, 14 Sep 2009 10:57:56 +0000 (12:57 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 16 Sep 2009 13:18:52 +0000 (15:18 +0200)
commit46c9865a6320026080271e24eb373718b2d805a0
treef8d5a3a18d70b49b2c9bbe47f62c908e8eda9c64
parentd8b45955dc9bcb4c274927c7b233d7a5b663c956
writeback: splice dirty inode entries to default bdi on bdi_destroy()

We cannot safely ensure that the inodes are all gone at this point
in time, and we must not destroy this bdi with inodes having off it.
So just splice our entries to the default bdi since that one will
always persist.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
mm/backing-dev.c