btrfs: raid56: add new helper for starting async work
authorDavid Sterba <dsterba@suse.com>
Fri, 29 Jun 2018 08:56:56 +0000 (10:56 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:44 +0000 (13:12 +0200)
commitac63885907ee25bf277fa39ba66a0d85dec20786
treeb3022a953af5e0e9375488ab6c61dff41cbe747b
parentebcc326316f3d798e9715e5ca1451c3e457b95dd
btrfs: raid56: add new helper for starting async work

Add helper that schedules a given function to run on the rmw workqueue.
This will replace several standalone helpers.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid56.c