]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid1: Refactor raid1_make_request
authorRobert LeBlanc <robert@leblancnet.us>
Mon, 5 Dec 2016 20:02:57 +0000 (13:02 -0700)
committerShaohua Li <shli@fb.com>
Tue, 3 Jan 2017 16:56:52 +0000 (08:56 -0800)
commit3b046a97cbd35a73e1eef968dbfb1a0aac745a77
treeeb99c85125b459c504e981b7c1ddf6fb9c42ac5f
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88
md/raid1: Refactor raid1_make_request

Refactor raid1_make_request to make read and write code in their own
functions to clean up the code.

Signed-off-by: Robert LeBlanc <robert@leblancnet.us>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid1.c