md: convert to use the generic badblocks code
authorVishal Verma <vishal.l.verma@intel.com>
Fri, 25 Dec 2015 02:20:34 +0000 (19:20 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 9 Jan 2016 16:39:03 +0000 (08:39 -0800)
commitfc974ee2bffdde47d1e4b220cf326952cc2c4794
tree8d6e2d471fbd49ef1b1d7e2a31a0785dd0be9afc
parent99e6608c9e7414ae4f2168df8bf8fae3eb49e41f
md: convert to use the generic badblocks code

Retain badblocks as part of rdev, but use the accessor functions from
include/linux/badblocks for all manipulation.

Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/md/md.c
drivers/md/md.h