md/raid1: remove unnecessary BUG_ON
authorGuoqing Jiang <gqjiang@suse.com>
Mon, 14 Mar 2016 09:01:37 +0000 (17:01 +0800)
committerShaohua Li <shli@fb.com>
Mon, 14 Mar 2016 18:35:58 +0000 (11:35 -0700)
commitb3c95b425e0991840262dba8dd095f2682dbf848
treebcc1e1771482f215dbbb13c129a9b6020ae65762
parentfafcde3ac1a418688a734365203a12483b83907a
md/raid1: remove unnecessary BUG_ON

Since bitmap_start_sync will not return until
sync_blocks is not less than PAGE_SIZE>>9, so
the BUG_ON is not needed anymore.

Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid1.c