aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-08 18:14:43 +0200
committerJens Axboe <jaxboe@fusionio.com>2010-06-11 12:58:07 +0200
commit3c4d716538f3eefb1c1f10961a047a6456a2b590 (patch)
tree3cfc50c18cc3d2351ddac4309e8f228e22faed71 /lib/genalloc.c
parentwriteback: fix writeback completion notifications (diff)
downloadwireguard-linux-3c4d716538f3eefb1c1f10961a047a6456a2b590.tar.xz
wireguard-linux-3c4d716538f3eefb1c1f10961a047a6456a2b590.zip
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 <hch@lst.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions