From: Christoph Hellwig Date: Tue, 8 Jun 2010 16:14:43 +0000 (+0200) Subject: writeback: queue work on stack in writeback_inodes_sb X-Git-Tag: v2.6.35-rc4~43^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c4d716538f3eefb1c1f10961a047a6456a2b590;p=pandora-kernel.git writeback: queue work on stack in writeback_inodes_sb If we want to rely on s_umount in the caller we need to wait for completion of the I/O submission before returning to the caller. Refactor bdi_sync_writeback into a bdi_queue_work_onstack helper and use it for this case. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- Reading git-diff-tree failed