writeback: inline allocation failure handling in bdi_alloc_queue_work()
authorJens Axboe <jens.axboe@oracle.com>
Sun, 13 Sep 2009 18:07:36 +0000 (20:07 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 16 Sep 2009 13:18:52 +0000 (15:18 +0200)
commitbcddc3f01c9122882c8b9f12ab94a934e55aef97
treedb642f05ec083f49c4e32cf8d93c9f14028d8ec5
parentcfc4ba5365449cb6b5c9f68d755a142f17da1e47
writeback: inline allocation failure handling in bdi_alloc_queue_work()

This gets rid of work == NULL in bdi_queue_work() and puts the
OOM handling where it belongs.

Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fs-writeback.c