writeback: ensure that WB_SYNC_NONE writeback with sb pinned is sync
authorJens Axboe <jens.axboe@oracle.com>
Tue, 18 May 2010 12:29:29 +0000 (14:29 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 21 May 2010 18:00:25 +0000 (20:00 +0200)
Even if the writeout itself isn't a data integrity operation, we need
to ensure that the caller doesn't drop the sb umount sem before we
have actually done the writeback.

This is a fixup for commit e913fc82.

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

No differences found