+0
−19
+0
−19
+36
−0
+1
−0
Loading
Random cleanup - this code was duplicated and it's not really specific to md. Also added the ability to return the actual error code. Signed-off-by:Kent Overstreet <koverstreet@google.com> CC: Jens Axboe <axboe@kernel.dk> CC: NeilBrown <neilb@suse.de> Acked-by:
Tejun Heo <tj@kernel.org>