]> git.baikalelectronics.ru Git - kernel.git/commit
writeback: make wb_writeback() take an argument structure
authorJens Axboe <jens.axboe@oracle.com>
Wed, 16 Sep 2009 13:18:25 +0000 (15:18 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 16 Sep 2009 13:18:25 +0000 (15:18 +0200)
commit6c9907fb9d0c6f4dc04e70cf867b191f6a5b2151
tree2e0a4097cab5b94249f69fae7ebbcb22d6c8f225
parent6541c733e767e392796446a1a7aa0ec0ca0e7b71
writeback: make wb_writeback() take an argument structure

We need to be able to pass in range_cyclic as well, so instead
of growing yet another argument, split the arguments into a
struct wb_writeback_args structure that we can use internally.
Also makes it easier to just copy all members to an on-stack
struct, since we can't access work after clearing the pending
bit.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/fs-writeback.c