md: raid1/raid10: don't handle failure of bio_add_page()
authorMing Lei <tom.leiming@gmail.com>
Thu, 16 Mar 2017 16:12:22 +0000 (00:12 +0800)
committerShaohua Li <shli@fb.com>
Fri, 24 Mar 2017 17:41:36 +0000 (10:41 -0700)
commitc85ba149de4bd14aa028ac824f9f12aeded28b86
tree8ec935d6b5b242e9174f73249bca6f55f2b1b366
parent3560741e316b3ea52cfb27901ae284921445180f
md: raid1/raid10: don't handle failure of bio_add_page()

All bio_add_page() is for adding one page into resync bio,
which is big enough to hold RESYNC_PAGES pages, and
the current bio_add_page() doesn't check queue limit any more,
so it won't fail at all.

remove unused label (shaohua)

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid1.c
drivers/md/raid10.c